mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
GRIM: fixed TinyGL draw sprites
This commit is contained in:
parent
2a6f23839f
commit
a37e7bc204
@ -782,7 +782,9 @@ void GfxTinyGL::drawSprite(const Sprite *sprite) {
|
||||
tglDisable(TGL_LIGHTING);
|
||||
|
||||
if (g_grim->getGameType() == GType_GRIM) {
|
||||
tglEnable(TGL_ALPHA_TEST);
|
||||
// Disable Alpha Test, doesn't work the same as OpenGL
|
||||
// It was enabled to sync with OpenGL renderer while TinyGL refactoring
|
||||
//tglEnable(TGL_ALPHA_TEST);
|
||||
tglAlphaFunc(TGL_GEQUAL, 0.5f);
|
||||
} else if (sprite->_flags2 & Sprite::AlphaTest) {
|
||||
tglEnable(TGL_ALPHA_TEST);
|
||||
|
Loading…
x
Reference in New Issue
Block a user