Tiny fix
This commit is contained in:
Submodule project/jni/application/openarena/engine updated: 8ecd56f773...30f7ee6188
@@ -162,7 +162,7 @@ static inline void endDrawingTex()
|
|||||||
glDisable(GL_TEXTURE_2D);
|
glDisable(GL_TEXTURE_2D);
|
||||||
glBindTexture(GL_TEXTURE_2D, oldGlState.textureId);
|
glBindTexture(GL_TEXTURE_2D, oldGlState.textureId);
|
||||||
glColor4f(oldGlState.color[0], oldGlState.color[1], oldGlState.color[2], oldGlState.color[3]);
|
glColor4f(oldGlState.color[0], oldGlState.color[1], oldGlState.color[2], oldGlState.color[3]);
|
||||||
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, oldGlState.texEnvMode);
|
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, oldGlState.texEnvMode);
|
||||||
if( oldGlState.blend == GL_FALSE )
|
if( oldGlState.blend == GL_FALSE )
|
||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
glBlendFunc(oldGlState.blend1, oldGlState.blend2);
|
glBlendFunc(oldGlState.blend1, oldGlState.blend2);
|
||||||
|
|||||||
Reference in New Issue
Block a user