mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
2008-11-10 Emmanuele Bassi <ebassi@linux.intel.com>
* clutter/clutter-texture.c: Remove an unused function.
This commit is contained in:
parent
ca7bdc12a4
commit
12051380f7
@ -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:
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user