]> git.cworth.org Git - fips/commit
Remove typedef for fips_glXGetProcAddressARB_t
authorCarl Worth <cworth@cworth.org>
Mon, 10 Jun 2013 21:34:26 +0000 (14:34 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 10 Jun 2013 21:47:41 +0000 (14:47 -0700)
commit377222f13763b1b7b78bf558ab9ac8b70535c96d
tree8f594a18160f98587fac9935203621e0c8aafdef
parentc063b28a99d7ee825bcc84e00737469049592169
Remove typedef for fips_glXGetProcAddressARB_t

There were two problems with this typedef. First, we don't actually
need it, (we define it here and then use it exactly once on the next
line---it's simpler to have the direct syntax for a function returning
a pointer to a function accepting void and returning void.

More importantly, the typedef was relying on the type __GLXextFuncPtr
being defined. This happens to work with Mesa on my system but is
inherently fragile. So the code is more robust not relying on this.
glxwrap.c