[mutter/gnome-3-36] cogl: Delete a duplicate (masked) variable declaration



commit 86512f2e6fa7a4c3e49d97a8ca81881ac905f131
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
    
    (cherry picked from commit fd27c7c4445277db513961ba0a34bf09cab739a2)

 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 5fc8f24c98..eb371709b6 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]