gl33: fix inverted logic in gl33_framebuffer_attach
This commit is contained in:
parent
dc62286cf1
commit
3fd3c33371
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void gl33_framebuffer_attach(Framebuffer *framebuffer, Texture *tex, uint mipmap
|
|||
framebuffer->attachment_mipmaps[attachment] = mipmap;
|
||||
|
||||
// need to update draw buffers
|
||||
framebuffer->draw_buffers_dirty = false;
|
||||
framebuffer->draw_buffers_dirty = true;
|
||||
|
||||
IF_DEBUG(if(tex) {
|
||||
log_debug("%s %s = %s (%ux%u mip %u)", framebuffer->debug_label, attachment_str(attachment), tex->debug_label, tex->params.width, tex->params.height, mipmap);
|
||||
|
|
Loading…
Reference in a new issue