summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-10-06 15:58:44 -0700
committerMathias Agopian <mathias@google.com>2009-10-07 18:03:35 -0700
commit0da41a3635180398ae6cbf1ff75575f5dcb6e40b (patch)
treeb8b806bfc7a287e95ab1d99e60c389d704f89720 /opengl/java/android/opengl/Texture.java
parenta2de8e31c2693d009db1f9386406758874dd1d40 (diff)
fix [2170283] SurfaceFlinger crashes on OOM.
when running out of memory, a null handle is returned but the error code may not be set. In that case we need to return NO_MEMORY instead of NO_ERROR, so that the calling code won't try to dereference the null pointer.
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions