From 62462d2734a16c2b355216b98089f405f6a8163f Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Thu, 5 Jan 2012 21:01:19 +0100 Subject: OpenGL 3 context creation --- samples/OpenGL/x11argb_opengl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples/OpenGL/x11argb_opengl/Makefile') 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 -- cgit v1.2.3