diff options
author | Jon Smirl <[email protected]> | 2005-05-18 20:44:23 +0000 |
---|---|---|
committer | Jon Smirl <[email protected]> | 2005-05-18 20:44:23 +0000 |
commit | 9a1b5af3331361177cf73c1d0b18cea4e260688b (patch) | |
tree | 8189f747cbc61f54e8ef74de377556a714b72893 /progs/egl/demo2.c | |
parent | 8818eae253266b8e5df167ccd57567b36dbe32b6 (diff) |
Fix inverted y for egl fbdev, add egl demo3
Diffstat (limited to 'progs/egl/demo2.c')
-rw-r--r-- | progs/egl/demo2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/progs/egl/demo2.c b/progs/egl/demo2.c index 4e0004d930f..e04dc1f1632 100644 --- a/progs/egl/demo2.c +++ b/progs/egl/demo2.c @@ -161,7 +161,16 @@ main(int argc, char *argv[]) } glViewport(0, 0, 1024, 768); + glDrawBuffer( GL_FRONT ); + + glClearColor( 0, + 1.0, + 0, + 1); + + glClear( GL_COLOR_BUFFER_BIT ); + TestScreens(d); glShadeModel( GL_FLAT ); |