do not assume alpha test works (because it does not in gles2 / core).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4300 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1d3f52ac87
commit
20a338b0f6
5 changed files with 19 additions and 5 deletions
|
@ -2383,7 +2383,7 @@ static void BE_SendPassBlendDepthMask(unsigned int sbits)
|
|||
}
|
||||
|
||||
#ifdef GL_ALPHA_TEST //alpha test doesn't exist in gles2
|
||||
if (delta & SBITS_ATEST_BITS)
|
||||
if ((delta & SBITS_ATEST_BITS) && !gl_config.nofixedfunc)
|
||||
{
|
||||
switch (sbits & SBITS_ATEST_BITS)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue