diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2005-06-16 04:25:45 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@gmail.com> | 2005-06-16 04:25:45 +0000 |
commit | 6c2098ffd4ffb3f49d6330310dc771e7ee93c296 (patch) | |
tree | 89c8a7df346e620d19e1fd1a7ab5c02582c61b70 | |
parent | f445aaa67a14f2cda447ced6c60393c9b330e174 (diff) |
Fix a few compiler warnings
-rw-r--r-- | progs/egl/demo1.c | 1 | ||||
-rw-r--r-- | progs/egl/demo3.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/progs/egl/demo1.c b/progs/egl/demo1.c index 7f65176be1..9ef17e38b7 100644 --- a/progs/egl/demo1.c +++ b/progs/egl/demo1.c @@ -92,7 +92,6 @@ main(int argc, char *argv[]) EGLContext ctx; EGLSurface pbuffer; EGLConfig configs[10]; - EGLint numConfigs, i; EGLBoolean b; const EGLint pbufAttribs[] = { EGL_WIDTH, 500, diff --git a/progs/egl/demo3.c b/progs/egl/demo3.c index f6e3bc56e4..6c7358400f 100644 --- a/progs/egl/demo3.c +++ b/progs/egl/demo3.c @@ -56,6 +56,7 @@ static void Reshape(int width, int height) windH = (GLint)height; } +#if 0 static void RotateColorMask(void) { static GLint rotation = 0; @@ -80,6 +81,7 @@ static void RotateColorMask(void) break; } } +#endif static void Viewport(GLint row, GLint column) { |