Android: fix full-screen shadow on some platforms

This commit is contained in:
Flyinghead 2019-02-14 13:52:48 +01:00
parent edba937b6f
commit 9c4085ee1e
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ public class GLCFactory {
int s = findConfigAttrib(egl,display,config,EGL10.EGL_STENCIL_SIZE,0);
// We need at least mDepthSize and mStencilSize bits
if (d>=mDepthSize || s>=mStencilSize)
if (d >= mDepthSize && s >= mStencilSize)
{
// We want an *exact* match for red/green/blue/alpha
int r = findConfigAttrib(egl,display,config,EGL10.EGL_RED_SIZE, 0);