- fixed: BoundTextureDraw2D must reset the texture mode.

This commit is contained in:
Christoph Oelckers 2016-05-10 20:50:01 +02:00
parent 2709391ce9
commit 0cc57c6141
1 changed files with 1 additions and 0 deletions

View File

@ -1285,6 +1285,7 @@ void BoundTextureDraw2D(const GLsizei width, const GLsizei height)
vbo->RenderCurrent(ptr, GL_TRIANGLE_STRIP);
gl_RenderState.SetEffect(EFF_NONE);
gl_RenderState.SetTextureMode(TM_MODULATE);
}
bool BoundTextureSaveAsPNG(const GLenum target, const char* const path)