diff options
| author | David Turner <digit@android.com> | 2014-05-21 09:56:06 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-21 09:56:06 +0000 |
| commit | 66ff42468f7dc836f73cc9507bdf8d6f21e17d7f (patch) | |
| tree | f3e28daf24ee49a4960f10ce46a3b18006e269ad /emulator/opengl/host/libs/Translator | |
| parent | b22dbfb00380ef5b4dfd5b9ca72c4b408878ae87 (diff) | |
| parent | a2520d787431c9b48cf30091187f429f5ff4ecaa (diff) | |
| download | sdk-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.cpp | 2 |
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] = { |
