summaryrefslogtreecommitdiff
path: root/cogl
diff options
context:
space:
mode:
authorDaniel van Vugt <daniel.van.vugt@canonical.com>2020-04-16 17:05:59 +0800
committerJonas Ã…dahl <jadahl@gmail.com>2020-05-13 09:37:31 +0000
commitfd27c7c4445277db513961ba0a34bf09cab739a2 (patch)
tree4269bf331ed65e9d022d43ba263ae8eeb62e5493 /cogl
parenta51807fc1ee246bb0ffcc5c8dedea000b1616587 (diff)
downloadmutter-fd27c7c4445277db513961ba0a34bf09cab739a2.tar.gz
cogl: Delete a duplicate (masked) variable declaration
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1003
Diffstat (limited to 'cogl')
-rw-r--r--cogl/cogl/driver/gl/cogl-texture-gl.c1
1 files changed, 0 insertions, 1 deletions
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;