diff options
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 ); |