glx: Fix glXGetFBConfigFromVisualSGIX.
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 27 May 2011 00:19:03 +0000 (17:19 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 27 May 2011 17:58:36 +0000 (11:58 -0600)
commitfc48de4fabcf3a42a1cd7d447790afefc7d27af8
treedcd324a71090c55d9f86afe7115d7b0a0044c163
parent4eeabd5a3d9fc7377b0461aa2ae2924547e82052
glx: Fix glXGetFBConfigFromVisualSGIX.

We want to check for Success, otherwise it will fail even with the right visual.

NOTE: This is a candidate for the 7.10 branch.

Signed-off-by: Antoine Labour <piman@chromium.org>
Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/glx/glxcmds.c