GLES doesn't have glDisable(GL_TEXTURE_2D).
Patch by BogDan. Refs #2996. This was SVN commit r16206.
This commit is contained in:
parent
8a39ea5543
commit
c9dee72667
@ -1073,7 +1073,9 @@ Status ogl_tex_bind(Handle ht, size_t unit)
|
||||
// special case: disable texturing
|
||||
if(ht == 0)
|
||||
{
|
||||
#if !CONFIG2_GLES
|
||||
glDisable(GL_TEXTURE_2D);
|
||||
#endif
|
||||
return INFO::OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user