- moved CreateTexBuffer out of the GL code.

This is merely a buffer creation function with no dependencies on the renderer.
This commit is contained in:
Christoph Oelckers 2018-04-01 14:38:48 +02:00
commit 8b79eedfea
12 changed files with 154 additions and 160 deletions

View file

@ -146,7 +146,7 @@ void GLSceneDrawer::DrawPSprite (player_t * player,DPSprite *psp, float sx, floa
}
if (tex->GetTransparent() || OverrideShader != -1)
if (tex->tex->GetTranslucency() || OverrideShader != -1)
{
gl_RenderState.AlphaFunc(GL_GEQUAL, 0.f);
}