summaryrefslogtreecommitdiff
path: root/opengl/tests/gl2_basic/gl2_basic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/tests/gl2_basic/gl2_basic.cpp')
-rw-r--r--opengl/tests/gl2_basic/gl2_basic.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/opengl/tests/gl2_basic/gl2_basic.cpp b/opengl/tests/gl2_basic/gl2_basic.cpp
index 67c0969e21..13f6fba92e 100644
--- a/opengl/tests/gl2_basic/gl2_basic.cpp
+++ b/opengl/tests/gl2_basic/gl2_basic.cpp
@@ -340,7 +340,6 @@ int main(int /*argc*/, char** /*argv*/) {
checkEglError("eglQuerySurface");
eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
checkEglError("eglQuerySurface");
- GLint dim = w < h ? w : h;
fprintf(stderr, "Window dimensions: %d x %d\n", w, h);