Android: fix full-screen shadow on some platforms

This commit is contained in:
Flyinghead 2019-02-14 13:52:48 +01:00 committed by Christoph "baka0815" Schwerdtfeger
parent 6e7bb35bdc
commit 7e9a545a05
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);