]> git.cworth.org Git - fips/commit
glxwrap: Initialize fips_dispatch when glxMakeContextCurrent is called
authorCarl Worth <cworth@cworth.org>
Tue, 27 Aug 2013 20:14:53 +0000 (13:14 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 27 Aug 2013 20:14:53 +0000 (13:14 -0700)
commit5169acf1de805f8ad277554f6ec064e8f36111c3
tree4e08e8bb7a1d51bb2d18b4903be05525e8520a47
parente678528e0593be3ffb9b42dd5d523cc0bdee1484
glxwrap: Initialize fips_dispatch when glxMakeContextCurrent is called

Previously, we only intitialized fips_dispatch if glxMakeCurrent was
called.  This caused fips to fail for programs that called
glxMakeContextCurrent instead. Both functions are now handled
indentically, (giving fips a clear indication that GLX is being used,
not EGL).

This fixes the failure of fips with Lightsmark 2008.
glxwrap.c