2008-11-10 Emmanuele Bassi <ebassi@linux.intel.com>

* clutter/clutter-texture.c: Remove an unused function.
This commit is contained in:
Emmanuele Bassi 2008-11-10 12:29:10 +00:00
parent ca7bdc12a4
commit 12051380f7
2 changed files with 4 additions and 19 deletions

View File

@ -1,3 +1,7 @@
2008-11-10 Emmanuele Bassi <ebassi@linux.intel.com>
* clutter/clutter-texture.c: Remove an unused function.
2008-11-10 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-10 Emmanuele Bassi <ebassi@linux.intel.com>
* tests/conform/test-label-cache.c: * tests/conform/test-label-cache.c:

View File

@ -166,25 +166,6 @@ clutter_texture_quality_to_cogl_mag_filter (ClutterTextureQuality buf_filter)
return 0; return 0;
} }
static ClutterTextureQuality
cogl_filters_to_clutter_texture_quality (COGLenum min,
COGLenum mag)
{
switch (min)
{
case CGL_NEAREST:
g_assert (mag == min); /* just for sanity */
return CLUTTER_TEXTURE_QUALITY_LOW;
case CGL_LINEAR:
g_assert (mag == min); /* just for sanity */
return CLUTTER_TEXTURE_QUALITY_MEDIUM;
case CGL_LINEAR_MIPMAP_LINEAR:
g_assert (mag == CGL_LINEAR); /* just for sanity */
return CLUTTER_TEXTURE_QUALITY_HIGH;
}
return 0;
}
static void static void
texture_free_gl_resources (ClutterTexture *texture) texture_free_gl_resources (ClutterTexture *texture)
{ {