[Bf-blender-cvs] [0038b598cfa] tmp-gltexture: Cleanup: GPUFramebuffer: Remove unused variable

Clément noreply at git.blender.org
Sat Sep 5 14:49:06 CEST 2020


Commit: 0038b598cfa8611934e2e01a1090509489edc0f1
Author: Clément
Date:   Sat Sep 5 14:08:53 2020 +0200
Branches: tmp-gltexture
https://developer.blender.org/rB0038b598cfa8611934e2e01a1090509489edc0f1

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