OpenGL2: Don't bind null framebuffers when not using framebuffers.
This commit is contained in:
1 parent
c68e471430
commit
730207817e
2 files changed
+9
-1
No files matched your search
@@ -951,7 +951,9 @@ void GL_SetDefaultState( void )
|
||||
qglColor4f (1,1,1,1);
|
||||
|
||||
GL_BindNullTextures();
|
||||
GL_BindNullFramebuffers();
|
||||
|
||||
if (glRefConfig.framebufferObject)
|
||||
GL_BindNullFramebuffers();
|
||||
|
||||
qglEnable(GL_TEXTURE_2D);
|
||||
GL_TextureMode( r_textureMode->string );
|
||||
|
||||
Reference in new issue
Block a user