diff options
Diffstat (limited to 'source/blender/gpu/opengl/gl_framebuffer.hh')
-rw-r--r-- | source/blender/gpu/opengl/gl_framebuffer.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/gpu/opengl/gl_framebuffer.hh b/source/blender/gpu/opengl/gl_framebuffer.hh index 2dc0936d0fe..edc05322153 100644 --- a/source/blender/gpu/opengl/gl_framebuffer.hh +++ b/source/blender/gpu/opengl/gl_framebuffer.hh @@ -11,8 +11,6 @@ #include "MEM_guardedalloc.h" -#include "glew-mx.h" - #include "gpu_framebuffer_private.hh" namespace blender::gpu { @@ -34,7 +32,7 @@ class GLFrameBuffer : public FrameBuffer { /** State Manager of the same contexts. */ GLStateManager *state_manager_ = nullptr; /** Copy of the GL state. Contains ONLY color attachments enums for slot binding. */ - GLenum gl_attachments_[GPU_FB_MAX_COLOR_ATTACHMENT]; + GLenum gl_attachments_[GPU_FB_MAX_COLOR_ATTACHMENT] = {0}; /** Internal frame-buffers are immutable. */ bool immutable_; /** True is the frame-buffer has its first color target using the GPU_SRGB8_A8 format. */ |