aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2016-09-23 19:37:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-09-23 19:37:55 +0000
commitbbe191b2311e3faa73e7497fec8f04d8c1739a8b (patch)
tree2925d761d174542070f008db8f97f0d26037246b
parent87cc7ec9390936869d46d8d74280b750336aed1c (diff)
parent0dc91a04c62bbfca54e3d32cca66bdbef3c6a6fb (diff)
downloadgoldfish-opengl-bbe191b2311e3faa73e7497fec8f04d8c1739a8b.tar.gz
Merge "Return error code in eglCreatePixmapSurface"
-rw-r--r--system/egl/egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/egl/egl.cpp b/system/egl/egl.cpp
index 57446988..849e238b 100644
--- a/system/egl/egl.cpp
+++ b/system/egl/egl.cpp
@@ -880,8 +880,8 @@ EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePix
// to s/w rendering -or- let the host render to a buffer that will be
// copied back to guest at some sync point. None of those methods not
// implemented and pixmaps are not used with OpenGL anyway ...
+ VALIDATE_CONFIG(config, EGL_FALSE);
(void)dpy;
- (void)config;
(void)pixmap;
(void)attrib_list;
return EGL_NO_SURFACE;