Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Android: fix full-screen shadow on some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Flyinghead committed Feb 14, 2019
1 parent edba937 commit 9c4085e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public EGLConfig chooseConfig(EGL10 egl,EGLDisplay display,EGLConfig[] configs)
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);
Expand Down

0 comments on commit 9c4085e

Please sign in to comment.