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 ef6552a..8a38a21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-11-10 Emmanuele Bassi + * clutter/clutter-texture.c: Remove an unused function. + +2008-11-10 Emmanuele Bassi + * tests/conform/test-label-cache.c: * tests/conform/test-pick.c: * tests/conform/test-timeline.c: Show all the output messages only diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index 31aebfa..5923b03 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) { -- 2.7.4