From 12051380f7ff24f299e3fbe502b0489ddf66db09 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 10 Nov 2008 12:29:10 +0000 Subject: [PATCH] 2008-11-10 Emmanuele Bassi * clutter/clutter-texture.c: Remove an unused function. --- ChangeLog | 4 ++++ clutter/clutter-texture.c | 19 ------------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index ef6552aa8..8a38a21ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-11-10 Emmanuele Bassi + + * clutter/clutter-texture.c: Remove an unused function. + 2008-11-10 Emmanuele Bassi * tests/conform/test-label-cache.c: diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index 31aebfa4a..5923b03b5 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -166,25 +166,6 @@ clutter_texture_quality_to_cogl_mag_filter (ClutterTextureQuality buf_filter) 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 texture_free_gl_resources (ClutterTexture *texture) {