mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix alpha blending bug when switching from Polymost to software mode
git-svn-id: https://svn.eduke32.com/eduke32@7696 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
26a266dfe5
commit
8141fbd692
1 changed files with 4 additions and 0 deletions
|
@ -12435,7 +12435,11 @@ int32_t videoSetRenderMode(int32_t renderer)
|
|||
|
||||
#ifdef USE_OPENGL
|
||||
if (bpp == 8)
|
||||
{
|
||||
glDisable(GL_BLEND);
|
||||
glDisable(GL_ALPHA_TEST);
|
||||
renderer = REND_CLASSIC;
|
||||
}
|
||||
# ifdef POLYMER
|
||||
else
|
||||
renderer = clamp(renderer, REND_POLYMOST, REND_POLYMER);
|
||||
|
|
Loading…
Reference in a new issue