X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/8dd990b1ed5cb3a4b78dfdf48b1f39d3f8bb0f0f..3e648337c136c8a8715d642857faa9e00a6db180:/glutil_gl1.cpp diff --git a/glutil_gl1.cpp b/glutil_gl1.cpp index 8e31114..0fb04e2 100644 --- a/glutil_gl1.cpp +++ b/glutil_gl1.cpp @@ -18,6 +18,15 @@ #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() { @@ -37,4 +46,4 @@ void drawQuad(GLfloat red, GLfloat green, GLfloat blue, GLfloat x1, GLfloat y1, glVertex2f(x2, y2); glVertex2f(x1, y2); glEnd(); -} \ No newline at end of file +}