[mutter] cogl: Delete a duplicate (masked) variable declaration



commit fd27c7c4445277db513961ba0a34bf09cab739a2
Author: Daniel van Vugt <daniel van vugt canonical com>
Date:   Thu Apr 16 17:05:59 2020 +0800

    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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]