From fe85753859d3994c3d74860258be122a1bb86aa3 Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Mon, 14 Dec 2020 18:34:08 +0100 Subject: minimal example for X11 MIT-SHM with Xcb --- samples/OpenGL/x11argb_opengl_glsl/x11argb_opengl_glsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples/OpenGL/x11argb_opengl_glsl/x11argb_opengl_glsl.c') diff --git a/samples/OpenGL/x11argb_opengl_glsl/x11argb_opengl_glsl.c b/samples/OpenGL/x11argb_opengl_glsl/x11argb_opengl_glsl.c index 7aae5a8..d64b655 100644 --- a/samples/OpenGL/x11argb_opengl_glsl/x11argb_opengl_glsl.c +++ b/samples/OpenGL/x11argb_opengl_glsl/x11argb_opengl_glsl.c @@ -365,7 +365,7 @@ static void createTheRenderContext() { GLX_CONTEXT_MAJOR_VERSION_ARB, 3, GLX_CONTEXT_MINOR_VERSION_ARB, 0, - //GLX_CONTEXT_FLAGS_ARB , GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB, + GLX_CONTEXT_FLAGS_ARB , GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB, None }; -- cgit v1.2.3