aboutsummaryrefslogtreecommitdiff
path: root/samples/OpenGL/x11argb_opengl/Makefile
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2012-01-05 21:01:19 +0100
committerWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2012-01-05 21:01:19 +0100
commit62462d2734a16c2b355216b98089f405f6a8163f (patch)
treeb8deee3a60f18d201aa35e4f62e1f4285c673e80 /samples/OpenGL/x11argb_opengl/Makefile
parentf50ddaa63c563cf2483e9c61d22086a05cfd2115 (diff)
downloadcodesamples-62462d2734a16c2b355216b98089f405f6a8163f.tar.gz
codesamples-62462d2734a16c2b355216b98089f405f6a8163f.tar.bz2
OpenGL 3 context creation
Diffstat (limited to 'samples/OpenGL/x11argb_opengl/Makefile')
-rw-r--r--samples/OpenGL/x11argb_opengl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OpenGL/x11argb_opengl/Makefile b/samples/OpenGL/x11argb_opengl/Makefile
index 658fc06..abafd5c 100644
--- a/samples/OpenGL/x11argb_opengl/Makefile
+++ b/samples/OpenGL/x11argb_opengl/Makefile
@@ -1,3 +1,3 @@
x11argb_opengl: x11argb_opengl.c Makefile
- $(CC) -std=c99 -g3 -o x11argb_opengl x11argb_opengl.c -lX11 -lXrender -lGL -lm
+ $(CC) -std=c99 -g3 -o x11argb_opengl -DUSE_GLX_CREATE_CONTEXT_ATTRIB=1 x11argb_opengl.c -lX11 -lXrender -lGL -lm