summaryrefslogtreecommitdiff
path: root/progs/egl
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/demo1.c1
-rw-r--r--progs/egl/demo3.c2
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)
{