aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/libs/Translator
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2014-05-21 09:56:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-21 09:56:06 +0000
commit66ff42468f7dc836f73cc9507bdf8d6f21e17d7f (patch)
treef3e28daf24ee49a4960f10ce46a3b18006e269ad /emulator/opengl/host/libs/Translator
parentb22dbfb00380ef5b4dfd5b9ca72c4b408878ae87 (diff)
parenta2520d787431c9b48cf30091187f429f5ff4ecaa (diff)
downloadsdk-66ff42468f7dc836f73cc9507bdf8d6f21e17d7f.zip
sdk-66ff42468f7dc836f73cc9507bdf8d6f21e17d7f.tar.gz
sdk-66ff42468f7dc836f73cc9507bdf8d6f21e17d7f.tar.bz2
Merge "emulator/opengl: A few debugging, stability improvements to emugl" into idea133
Diffstat (limited to 'emulator/opengl/host/libs/Translator')
-rw-r--r--emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp b/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp
index 3443f59..dd74750 100644
--- a/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp
+++ b/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp
@@ -2227,7 +2227,7 @@ void glDrawTexOES (T x, T y, T z, T width, T height) {
int numClipPlanes;
- GLint viewport[4];
+ GLint viewport[4] = {};
z = (z>1 ? 1 : (z<0 ? 0 : z));
T vertices[4*3] = {