From fd27c7c4445277db513961ba0a34bf09cab739a2 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Thu, 16 Apr 2020 17:05:59 +0800 Subject: [PATCH] cogl: Delete a duplicate (masked) variable declaration https://gitlab.gnome.org/GNOME/mutter/merge_requests/1003 --- cogl/cogl/driver/gl/cogl-texture-gl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cogl/cogl/driver/gl/cogl-texture-gl.c b/cogl/cogl/driver/gl/cogl-texture-gl.c index 5fc8f24c9..eb371709b 100644 --- a/cogl/cogl/driver/gl/cogl-texture-gl.c +++ b/cogl/cogl/driver/gl/cogl-texture-gl.c @@ -108,7 +108,6 @@ _cogl_texture_gl_maybe_update_max_level (CoglTexture *texture, if (_cogl_has_private_feature (ctx, COGL_PRIVATE_FEATURE_TEXTURE_MAX_LEVEL) && texture->max_level < max_level) { - CoglContext *ctx = texture->context; GLuint gl_handle; GLenum gl_target;