Carl Worth [Thu, 5 Sep 2013 21:12:18 +0000 (14:12 -0700)]
Share common code for numeric glGet functions
The implementations of glGetDoublev, glGetFloatv, glGetIntegerv, and
glGetInteger64v were functionally identical, (differing only in the
type signature of the function and the name of the function being
deferred to). Here, we share all of the common parts in a new
glenv_get_integer function.
Carl Worth [Thu, 5 Sep 2013 21:00:19 +0000 (14:00 -0700)]
Implement all the extension-related options of glenv
We use the first_gl_callback mechanism of Glaze in order to read the
original list of available extensions and then modify it according to
the user-requested options.