diff options
author | Chih-hung Hsieh <chh@google.com> | 2017-11-15 17:01:58 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-11-15 17:01:58 +0000 |
commit | 5de5abdef3ba833509b8e58987e6f08cb212f896 (patch) | |
tree | c9a839d56c05e70097bca1a336662522df173ca8 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 22975f3ef97bddda83b6890a13093f285f79f9b3 (diff) | |
parent | 7e9cd8e8f8395f2a00946c477a4a52912beadbe0 (diff) |
Merge "Use -Werror in frameworks/native/opengl/tests"
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
-rw-r--r-- | opengl/tests/gl_basic/gl_basic.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/opengl/tests/gl_basic/gl_basic.cpp b/opengl/tests/gl_basic/gl_basic.cpp index 0b663f796f..a675c7c5bd 100644 --- a/opengl/tests/gl_basic/gl_basic.cpp +++ b/opengl/tests/gl_basic/gl_basic.cpp @@ -191,8 +191,6 @@ int printEGLConfigurations(EGLDisplay dpy) { int main(int /*argc*/, char **/*argv*/) { - int q; - int start, end; printf("Initializing EGL...\n"); WindowSurface windowSurface; if(!init_gl_surface(windowSurface)) @@ -212,7 +210,6 @@ int main(int /*argc*/, char **/*argv*/) int init_gl_surface(const WindowSurface& windowSurface) { - EGLint numConfigs = 1; EGLConfig myConfig = {0}; EGLint attrib[] = { @@ -265,7 +262,6 @@ int init_gl_surface(const WindowSurface& windowSurface) checkEglError("eglQuerySurface"); eglQuerySurface(eglDisplay, eglSurface, EGL_HEIGHT, &h); checkEglError("eglQuerySurface"); - GLint dim = w < h ? w : h; fprintf(stderr, "Window dimensions: %d x %d\n", w, h); @@ -336,9 +332,6 @@ void create_texture(void) void render() { - int i, j; - int quads = 1; - const GLfloat vertices[] = { -1, -1, 0, 1, -1, 0, |