diff options
author | Sangkyu Lee <sk82.lee@lge.com> | 2014-11-07 18:54:59 +0900 |
---|---|---|
committer | Sangkyu Lee <sk82.lee@lge.com> | 2014-11-25 10:45:19 +0900 |
commit | c56c7013e3f4128722f7c8181494141da0bcfa2c (patch) | |
tree | 8f6f9756e968446503c8974c2d337aa8ab3c6395 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 59701b9ba5c453e327bc0e6873a9f6ff87a10391 (diff) |
Avoid overwriting EGL14.EGL_NO_SURFACE
(This is an update after the generator update.)
Both EGL14 and EGLExt have the same initialization codes for
EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_CONTEXT and EGL14.EGL_NO_DISPLAY.
Since EGLExt is initialized later, they are overwritten by EGLExt's
initialization codes.
Therefore, EGL_NO_SURFACE returned by methods in EGL14 is not
actually EGL14.EGL_NO_SURFACE object and it makes several problems in
handling error cases.
For instance, "Let's fish" game application cannot be run on L.
To solve the problem, this patch makes EGL14.EGL_NO_SURFACE,
EGL14.EGL_NO_CONTEXT and EGL14.EGL_NO_DISPLAY initialized just once.
Change-Id: Icce878164ff0b715ad2b5a2cd038a9616c7cf1e9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions