diff options
| author | 2018-11-02 01:15:05 -0700 | |
|---|---|---|
| committer | 2018-11-02 01:15:05 -0700 | |
| commit | 6d82fa64b7c849d1e7a4585355c3ba30547761fc (patch) | |
| tree | e7ebf777ab92ac20c318b048eb6163746d172a70 | |
| parent | a3685e30314c18144fb072a6e8e50b249e825c97 (diff) | |
| parent | c8fb8bd76042d6caad0fe0d204e3731b5b082cea (diff) | |
Merge "EGL: add a missing native_window_api_disconnect"
am: c8fb8bd760
Change-Id: If27687bacf453687ceb7981824a4ad97b9ff1f7e
| -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(); |