diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2012-01-05 21:01:19 +0100 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2012-01-05 21:01:19 +0100 |
commit | 62462d2734a16c2b355216b98089f405f6a8163f (patch) | |
tree | b8deee3a60f18d201aa35e4f62e1f4285c673e80 /samples/OpenGL/x11argb_opengl/Makefile | |
parent | f50ddaa63c563cf2483e9c61d22086a05cfd2115 (diff) | |
download | codesamples-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/Makefile | 2 |
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 |