Make the shaders work on NVidia
[gltest.git] / glutil_gl1.cpp
index 8e31114e2fcdf8fb0b96092203381abcea9c986b..0fb04e21a9d2dd7978500e1690c4bccd7d3a8b7f 100644 (file)
 
 #include "glutil.h"
 
 
 #include "glutil.h"
 
+#if !defined(CON_GL1)
+#error "Only GL1 contexts support GL1 functionality"
+#endif
+
+void resolveFunctionPointers(T_glGetProcAddress)
+{
+       // nothing to do
+}
+
 // initialisation
 void initialise2dProjection()
 {
 // initialisation
 void initialise2dProjection()
 {
@@ -37,4 +46,4 @@ void drawQuad(GLfloat red, GLfloat green, GLfloat blue, GLfloat x1, GLfloat y1,
        glVertex2f(x2, y2);
        glVertex2f(x1, y2);
        glEnd();
        glVertex2f(x2, y2);
        glVertex2f(x1, y2);
        glEnd();
-}
\ No newline at end of file
+}