diff options
author | marha <marha@users.sourceforge.net> | 2010-12-06 08:03:07 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-12-06 08:03:07 +0000 |
commit | 4218fd3a8c41e4d9715cbcd6d855736028835fb8 (patch) | |
tree | 528be12917049d77b6633654640765b804612cc1 /xorg-server/hw/dmx/glxProxy/glxcmds.c | |
parent | 30eaf03aef5847adb6da7efd4bbf4a4abaf5d738 (diff) | |
download | vcxsrv-4218fd3a8c41e4d9715cbcd6d855736028835fb8.tar.gz vcxsrv-4218fd3a8c41e4d9715cbcd6d855736028835fb8.tar.bz2 vcxsrv-4218fd3a8c41e4d9715cbcd6d855736028835fb8.zip |
libXext xserver pixman git update 6-12-2010
Diffstat (limited to 'xorg-server/hw/dmx/glxProxy/glxcmds.c')
-rw-r--r-- | xorg-server/hw/dmx/glxProxy/glxcmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/hw/dmx/glxProxy/glxcmds.c b/xorg-server/hw/dmx/glxProxy/glxcmds.c index 26ffad825..540fd00cd 100644 --- a/xorg-server/hw/dmx/glxProxy/glxcmds.c +++ b/xorg-server/hw/dmx/glxProxy/glxcmds.c @@ -1531,7 +1531,7 @@ int __glXGetVisualConfigs(__GLXclientState *cl, GLbyte *pc) int i, p;
screen = req->screen;
- if (screen > screenInfo.numScreens) {
+ if (screen >= screenInfo.numScreens) {
/* The client library must send a valid screen number. */
client->errorValue = screen;
return BadValue;
@@ -2680,7 +2680,7 @@ int __glXGetFBConfigs(__GLXclientState *cl, GLbyte *pc) int numFBConfigs, i, p;
__GLXscreenInfo *pGlxScreen;
- if (screen > screenInfo.numScreens) {
+ if (screen >= screenInfo.numScreens) {
/* The client library must send a valid screen number. */
client->errorValue = screen;
return BadValue;
@@ -3102,7 +3102,7 @@ int __glXCreatePbuffer(__GLXclientState *cl, GLbyte *pc) /*
** Look up screen and FBConfig.
*/
- if (screen > screenInfo.numScreens) {
+ if (screen >= screenInfo.numScreens) {
/* The client library must send a valid screen number. */
client->errorValue = screen;
return BadValue;
|