aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-28 19:34:41 +0000
committermarha <marha@users.sourceforge.net>2010-02-28 19:34:41 +0000
commitfedd99993946dd8fc22b60e3611e447f3b8092ca (patch)
treef1486f18c003876c504227d5c2fc602371524aba /xorg-server/glx
parent94399647b31b4d87cc009954dd213475993a9011 (diff)
parent1ad46cbf3a9963f3d6d8c687480a80d359ec15f8 (diff)
downloadvcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.tar.gz
vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.tar.bz2
vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/glx')
-rw-r--r--xorg-server/glx/glxscreens.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/glx/glxscreens.c b/xorg-server/glx/glxscreens.c
index b2d1f8741..5f9b072b7 100644
--- a/xorg-server/glx/glxscreens.c
+++ b/xorg-server/glx/glxscreens.c
@@ -454,6 +454,10 @@ void __glXScreenInit(__GLXscreen *pGlxScreen, ScreenPtr pScreen)
if (i == pScreen->numVisuals)
continue;
+ /* Make sure the FBconfig supports window drawables */
+ if (!(config->drawableType & GLX_WINDOW_BIT))
+ continue;
+
/* Create a new X visual for our FBconfig. */
visual = AddScreenVisuals(pScreen, 1, depth);
if (visual == NULL)