diff options
author | Chih-hung Hsieh <chh@google.com> | 2017-11-15 18:15:56 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-11-15 18:15:56 +0000 |
commit | 7b8ff05d85eee698e626cc5a175f71a82046026e (patch) | |
tree | 8e1027ff12ca40e872b01202744d709ec55ab6c2 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 53c06d4d23033fc3ba6b24e69c9dae269b4d6158 (diff) | |
parent | 5de5abdef3ba833509b8e58987e6f08cb212f896 (diff) |
Merge "Use -Werror in frameworks/native/opengl/tests"
am: 5de5abdef3
Change-Id: I6c830dccd375a8e982672f3b9e935ae5371f6122
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, |