GLES doesn't have glDisable(GL_TEXTURE_2D).

Patch by BogDan. Refs #2996.

This was SVN commit r16206.
This commit is contained in:
Ykkrosh 2015-01-23 20:40:02 +00:00
parent 8a39ea5543
commit c9dee72667

View File

@ -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;
}