st/xlib: Do minimal version checking in glXCreateContextAttribsARB.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 24 Apr 2014 14:49:01 +0000 (15:49 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 24 Apr 2014 19:26:23 +0000 (20:26 +0100)
commitf438a824923342bc06f2d97a0aaf06b68e43e128
tree38bb1274d7aafd2a2e7b64d8cd51662f15c93a1a
parent7380ce9bf68d6d9913b5901ea3a432b4dae0ba72
st/xlib: Do minimal version checking in glXCreateContextAttribsARB.

The current version checking is wrongly refusing to create 3.3 contexts;
unsupported version are checked elsewhere; and the DRI path doesn't do
this sort of checking neither.

This enables piglit glsl 3.30 tests to run without skipping.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/glx/xlib/glx_api.c