]> git.cworth.org Git - fips/blobdiff - glwrap.c
Add dynamic dispatch for any calls to OpenGL functions.
[fips] / glwrap.c
index 323c321107c5d37dc7cd0775e0475afe431869c5..e92889a7688da5efb636f1fc4503c251e3f91b79 100644 (file)
--- a/glwrap.c
+++ b/glwrap.c
  * THE SOFTWARE.
  */
 
-#include "fips.h"
-
-#include "glwrap.h"
-
-#include "metrics.h"
-
 /* The prototypes for some OpenGL functions changed at one point from:
  *
  *     const void* *indices
  */
 #define const
 
-#define GL_GLEXT_PROTOTYPES
-#include <GL/gl.h>
+#include "fips.h"
+#include "fips-dispatch.h"
+
+#include "glwrap.h"
+
+#include "metrics.h"
 
 #include "dlwrap.h"