mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
- fixed: BoundTextureDraw2D must reset the texture mode.
This commit is contained in:
parent
2709391ce9
commit
0cc57c6141
1 changed files with 1 additions and 0 deletions
|
@ -1285,6 +1285,7 @@ void BoundTextureDraw2D(const GLsizei width, const GLsizei height)
|
||||||
vbo->RenderCurrent(ptr, GL_TRIANGLE_STRIP);
|
vbo->RenderCurrent(ptr, GL_TRIANGLE_STRIP);
|
||||||
|
|
||||||
gl_RenderState.SetEffect(EFF_NONE);
|
gl_RenderState.SetEffect(EFF_NONE);
|
||||||
|
gl_RenderState.SetTextureMode(TM_MODULATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BoundTextureSaveAsPNG(const GLenum target, const char* const path)
|
bool BoundTextureSaveAsPNG(const GLenum target, const char* const path)
|
||||||
|
|
Loading…
Reference in a new issue