Skip to content

Commit

Permalink
GLContextGLX: Do not verify ALPHA size
Browse files Browse the repository at this point in the history
  • Loading branch information
fritsch committed Sep 19, 2017
1 parent 6d1882d commit f2b1d2c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xbmc/windowing/X11/GLContextGLX.cpp
Expand Up @@ -153,9 +153,7 @@ bool CGLContextGLX::IsSuitableVisual(XVisualInfo *vInfo)
return false;
if (glXGetConfig(m_dpy, vInfo, GLX_BLUE_SIZE, &value) || value < 8)
return false;
if (glXGetConfig(m_dpy, vInfo, GLX_ALPHA_SIZE, &value) || value < 8)
return false;
if (glXGetConfig(m_dpy, vInfo, GLX_DEPTH_SIZE, &value) || value < 8)
if (glXGetConfig(m_dpy, vInfo, GLX_DEPTH_SIZE, &value) || value < 24)
return false;

return true;
Expand Down

0 comments on commit f2b1d2c

Please sign in to comment.