aboutsummaryrefslogtreecommitdiff
path: root/samples/OpenGL/x11argb_opengl
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenGL/x11argb_opengl')
-rw-r--r--samples/OpenGL/x11argb_opengl/x11argb_opengl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/OpenGL/x11argb_opengl/x11argb_opengl.c b/samples/OpenGL/x11argb_opengl/x11argb_opengl.c
index 8eaddf8..7a073fb 100644
--- a/samples/OpenGL/x11argb_opengl/x11argb_opengl.c
+++ b/samples/OpenGL/x11argb_opengl/x11argb_opengl.c
@@ -423,8 +423,10 @@ static void redrawTheWindow()
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);
+#if 0
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+#endif
glLightfv(GL_LIGHT0, GL_POSITION, light0_dir);
glLightfv(GL_LIGHT0, GL_DIFFUSE, light0_color);