diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2012-02-19 17:46:50 +0100 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2012-02-19 17:46:50 +0100 |
commit | adfa666208bbf720e0dd33602661384b146e5268 (patch) | |
tree | 79de8d74180f18948735a60aa6637a9f40c285f8 /samples/OpenGL/x11argb_opengl/x11argb_opengl.c | |
parent | eeb1931d2d214b28e4117ad17824ece40f865511 (diff) | |
download | codesamples-adfa666208bbf720e0dd33602661384b146e5268.tar.gz codesamples-adfa666208bbf720e0dd33602661384b146e5268.tar.bz2 |
FBO example added
Diffstat (limited to 'samples/OpenGL/x11argb_opengl/x11argb_opengl.c')
-rw-r--r-- | samples/OpenGL/x11argb_opengl/x11argb_opengl.c | 2 |
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); |