diff options
| author | 2018-11-02 01:21:32 -0700 | |
|---|---|---|
| committer | 2018-11-02 01:21:32 -0700 | |
| commit | b76aac700b6581093c44c6741db7abadc6ea8d04 (patch) | |
| tree | 2e25538df341f6c56c221e5469f20e71dee1d4bc | |
| parent | 48a3df3d0986e8bbbc21a498e2173df12288766f (diff) | |
| parent | 6d82fa64b7c849d1e7a4585355c3ba30547761fc (diff) | |
Merge "EGL: add a missing native_window_api_disconnect" am: c8fb8bd760
am: 6d82fa64b7
Change-Id: Iba5ffa6f42bdb2d33be67edae1b7d9bde75d266e
| -rw-r--r-- | opengl/libs/EGL/eglApi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp index 08a98770bc..11029c5b78 100644 --- a/opengl/libs/EGL/eglApi.cpp +++ b/opengl/libs/EGL/eglApi.cpp @@ -729,6 +729,7 @@ EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, if (!processAttributes(dp, window, attrib_list, &colorSpace, &strippedAttribList)) { ALOGE("error invalid colorspace: %d", colorSpace); + native_window_api_disconnect(window, NATIVE_WINDOW_API_EGL); return EGL_NO_SURFACE; } attrib_list = strippedAttribList.data(); |