diff options
author | Brian Paul <[email protected]> | 2008-05-27 09:49:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-27 09:49:18 -0600 |
commit | e903f51bc43fde1f61a779fd8017c96a651781ac (patch) | |
tree | 303462c00b829fd64acb5de981c3993e6d655110 /src/mesa/drivers/x11/fakeglx.c | |
parent | 0ccffacee268ec80e5ef680d75cbbf8ed9603342 (diff) |
allow GLX_SAMPLES_ARB==0 (bug 16073)
Diffstat (limited to 'src/mesa/drivers/x11/fakeglx.c')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 7a170b4d3d1..e5cd8f0b805 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -1183,11 +1183,12 @@ choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig ) * GLX_ARB_multisample */ case GLX_SAMPLE_BUFFERS_ARB: - /* ms not supported */ - return NULL; case GLX_SAMPLES_ARB: - /* ms not supported */ - return NULL; + parselist++; + if (*parselist++ != 0) + /* ms not supported */ + return NULL; + break; /* * FBConfig attribs. |