summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2011-12-01 11:27:45 -0800
committerJesse Hall <jessehall@google.com>2011-12-02 09:35:42 -0800
commit4406345cd62d3687ce590c357854472f7f906e6c (patch)
tree1973d96a8ee0c21d82df97866fa1abe5d633badc /opengl/java/android/opengl/Texture.java
parent335c4e6cb2094c7cbd6039e0c7915702b69e7657 (diff)
Disable GLES20Canvas on emu w/o native GL
When the emulator is run without '-gpu on', GLES20 isn't supported, so claiming GLES20Canvas is available will lead to catastrophic failure. This change makes GLES20Canvas available when compiled in and either not running on the emulator, or running on the emulator with native GL acceleration enabled. Change-Id: I89c944f9e3c9585224f5aa0877335ea48ea4a468
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions