diff options
author | marha <marha@users.sourceforge.net> | 2010-02-28 19:34:41 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-02-28 19:34:41 +0000 |
commit | fedd99993946dd8fc22b60e3611e447f3b8092ca (patch) | |
tree | f1486f18c003876c504227d5c2fc602371524aba /xorg-server/glx/glxscreens.c | |
parent | 94399647b31b4d87cc009954dd213475993a9011 (diff) | |
parent | 1ad46cbf3a9963f3d6d8c687480a80d359ec15f8 (diff) | |
download | vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.tar.gz vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.tar.bz2 vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.zip |
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/glx/glxscreens.c')
-rw-r--r-- | xorg-server/glx/glxscreens.c | 4 |
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)
|