summaryrefslogtreecommitdiffstats
path: root/opengl/tests/angeles/app-linux.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2014-12-11 22:48:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-11 22:48:18 +0000
commitbceb29c83ea54d38b38e40d66402e56364cff56b (patch)
treec4beca58aa974f2241891ac0ef776a70038ad0f2 /opengl/tests/angeles/app-linux.cpp
parenta59d7a6a66a2b8dcb2d00dbd6371fa89ae45ab04 (diff)
parent3bded9177b579d96d72397d73b8f85bba47ec438 (diff)
downloadframeworks_native-bceb29c83ea54d38b38e40d66402e56364cff56b.zip
frameworks_native-bceb29c83ea54d38b38e40d66402e56364cff56b.tar.gz
frameworks_native-bceb29c83ea54d38b38e40d66402e56364cff56b.tar.bz2
Merge "Fix clang -Wc++11-narrowing warnings."
Diffstat (limited to 'opengl/tests/angeles/app-linux.cpp')
-rw-r--r--opengl/tests/angeles/app-linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/tests/angeles/app-linux.cpp b/opengl/tests/angeles/app-linux.cpp
index e490351..ced8786 100644
--- a/opengl/tests/angeles/app-linux.cpp
+++ b/opengl/tests/angeles/app-linux.cpp
@@ -118,7 +118,7 @@ static void checkEGLErrors()
fprintf(stderr, "EGL Error: 0x%04x\n", (int)error);
}
-static int initGraphics(unsigned samples, const WindowSurface& windowSurface)
+static int initGraphics(EGLint samples, const WindowSurface& windowSurface)
{
EGLint configAttribs[] = {
EGL_DEPTH_SIZE, 16,