We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13828f0 commit 9707986Copy full SHA for 9707986
release/scripts/addons_contrib
source/blender/gpu/intern/gpu_framebuffer.c
@@ -338,7 +338,7 @@ void GPU_framebuffer_bind_simple(GPUFrameBuffer *fb)
338
void GPU_framebuffer_bind_all_attachments(GPUFrameBuffer *fb)
339
{
340
int slots = 0, i;
341
- GLenum attachments[4];
+ GLenum attachments[GPU_FB_MAX_SLOTS];
342
343
for(i = 0; i < GPU_FB_MAX_SLOTS; i++) {
344
if (fb->colortex[i]) {
0 commit comments