diff options
author | David 'Digit' Turner <digit@google.com> | 2014-04-28 12:37:51 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2014-04-28 12:45:16 +0200 |
commit | 88a8c6a97f1214871348afe30a5b4ef54e99a0a4 (patch) | |
tree | ca5573aa6131ff65ccda71e63fb3d83f7ccf480b /emulator/opengl/tests | |
parent | 0c5d08da8a14a3ec54578270036012829de97ef2 (diff) | |
download | sdk-88a8c6a97f1214871348afe30a5b4ef54e99a0a4.zip sdk-88a8c6a97f1214871348afe30a5b4ef54e99a0a4.tar.gz sdk-88a8c6a97f1214871348afe30a5b4ef54e99a0a4.tar.bz2 |
emulator/opengl: Fix GCC 4.8 warnings.
This fixes a few compiler warnings when building the GPU emulation
libraries with GCC 4.8. Note that GLbyte is defined as khronos_int8_t
which is signed!
Change-Id: I52027cd2eb20d6162983319f22d4da150ff514ed
Diffstat (limited to 'emulator/opengl/tests')
-rw-r--r-- | emulator/opengl/tests/translator_tests/GLES_CM/triangleCM.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emulator/opengl/tests/translator_tests/GLES_CM/triangleCM.cpp b/emulator/opengl/tests/translator_tests/GLES_CM/triangleCM.cpp index 60118b7..0e86166 100644 --- a/emulator/opengl/tests/translator_tests/GLES_CM/triangleCM.cpp +++ b/emulator/opengl/tests/translator_tests/GLES_CM/triangleCM.cpp @@ -279,17 +279,17 @@ int main(int argc, char **argv) #define MIN_T 0 GLbyte byteVertices[] = { -1,-1,0, // Position - 255,0,0,255, // Color + (GLbyte)255,0,0,(GLbyte)255, // Color MIN_T, MIN_T, // texture 12, //point size 1,-1,0, - 0,255,0,255, + 0,(GLbyte)255,0,(GLbyte)255, MAX_T,MIN_T, 47, 0,1,0, - 0,0,255,255, + 0,0,(GLbyte)255,(GLbyte)255, MID_T, MAX_T, 14 }; |