fix: set color for RENDER_TEXT

This commit is contained in:
Garux
2019-03-07 00:50:25 +03:00
parent 4382b5f6d9
commit 7a2084b405

View File

@@ -1861,6 +1861,7 @@ void OpenGLState_apply( const OpenGLState& self, OpenGLState& current, unsigned
glClientActiveTexture( GL_TEXTURE0 );
}
glEnable( GL_TEXTURE_2D );
glColor4fv( vector4_to_array( self.m_colour ) );
glEnable( GL_BLEND ); ///RENDER_BLEND
//glTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL );