[Bf-blender-cvs] [14926a81b62] master: Cleanup: GPUFramebuffer: Remove unused variable

Clément Foucault noreply at git.blender.org
Sat Sep 5 17:50:10 CEST 2020


Commit: 14926a81b622bd9d37a6d7f90747f431ae070e64
Author: Clément Foucault
Date:   Sat Sep 5 17:36:06 2020 +0200
Branches: master
https://developer.blender.org/rB14926a81b622bd9d37a6d7f90747f431ae070e64

Cleanup: GPUFramebuffer: Remove unused variable

===================================================================

M	source/blender/gpu/intern/gpu_framebuffer.cc

===================================================================

diff --git a/source/blender/gpu/intern/gpu_framebuffer.cc b/source/blender/gpu/intern/gpu_framebuffer.cc
index a74f48d15ce..44994c2cabf 100644
--- a/source/blender/gpu/intern/gpu_framebuffer.cc
+++ b/source/blender/gpu/intern/gpu_framebuffer.cc
@@ -140,7 +140,6 @@ void FrameBuffer::recursive_downsample(int max_lvl,
                                        void (*callback)(void *userData, int level),
                                        void *userData)
 {
-  GPUContext *ctx = GPU_context_active_get();
   /* Bind to make sure the frame-buffer is up to date. */
   this->bind(true);



More information about the Bf-blender-cvs mailing list