Merge remote-tracking branch 'origin/master' into Shadows
This commit is contained in:
@@ -74,7 +74,7 @@ void FrameBuffer::Generate()
|
||||
}
|
||||
GLERROR("3");
|
||||
|
||||
GLenum* bufferTextures = &attachments[0];
|
||||
GLenum* bufferTextures = attachments.data();
|
||||
glDrawBuffers(attachments.size(), bufferTextures);
|
||||
if (GLERROR("GLBufferAttachement error")) {
|
||||
printf(": AttachmentSize %i", attachments.size());
|
||||
|
||||
Reference in New Issue
Block a user