Fix a few compiler warnings
authorJon Smirl <jonsmirl@gmail.com>
Thu, 16 Jun 2005 04:25:45 +0000 (04:25 +0000)
committerJon Smirl <jonsmirl@gmail.com>
Thu, 16 Jun 2005 04:25:45 +0000 (04:25 +0000)
progs/egl/demo1.c
progs/egl/demo3.c

index 7f65176..9ef17e3 100644 (file)
@@ -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,
index f6e3bc5..6c73584 100644 (file)
@@ -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)
 {