projects
/
gltest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more Makefile magic to avoid repeating the source files which make up a binary
[gltest.git]
/
glutil_gl1.cpp
diff --git
a/glutil_gl1.cpp
b/glutil_gl1.cpp
index 8e31114e2fcdf8fb0b96092203381abcea9c986b..1cedfac8e81348d6a7740f4e9487f097087b6f03 100644
(file)
--- a/
glutil_gl1.cpp
+++ b/
glutil_gl1.cpp
@@
-18,6
+18,15
@@
#include "glutil.h"
#include "glutil.h"
+#if defined(CON_GLES2)
+#error "GLES2 contexts do not 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
+}