diff options
| author | 2014-11-07 18:55:07 +0900 | |
|---|---|---|
| committer | 2014-11-25 10:46:06 +0900 | |
| commit | 7290c24354ccf7efd7afa8fa6ba06689a852fae6 (patch) | |
| tree | 16f1d8013b61700f89626b79ec2d0e8e0c6bcc2c /libs/ui/FramebufferNativeWindow.cpp | |
| parent | c90b7d9c0f1df1cec8afbfebad0f111d878113e7 (diff) | |
Avoid overwriting EGL14.EGL_NO_SURFACE
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 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions