aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/libs/Translator
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2014-05-21 10:01:31 +0000
committerandroid-build-merger <android-build-merger@google.com>2014-05-21 10:01:31 +0000
commitf492ee5d0bbcedd3536ba691ba91b845f8be3779 (patch)
treef8f2141c9d1de18f6bc0f28211095ff3477882ca /emulator/opengl/host/libs/Translator
parentb98201d37a287ef318efc087b719bb65fa3924f0 (diff)
parent66ff42468f7dc836f73cc9507bdf8d6f21e17d7f (diff)
downloadsdk-f492ee5d0bbcedd3536ba691ba91b845f8be3779.zip
sdk-f492ee5d0bbcedd3536ba691ba91b845f8be3779.tar.gz
sdk-f492ee5d0bbcedd3536ba691ba91b845f8be3779.tar.bz2
Merge "emulator/opengl: A few debugging, stability improvements to emugl" into idea133
Auto-merge: 66ff424 * commit '66ff42468f7dc836f73cc9507bdf8d6f21e17d7f': emulator/opengl: A few debugging, stability improvements to emugl
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] = {