From: Haegeun Park Date: Thu, 3 May 2012 06:39:09 +0000 (-0700) Subject: Fix return value of eglBindTexImage() X-Git-Tag: submit/devel/coregl/20151204.063909^2~107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aae1b5c6453fdf4a0a84b0a04a3364e5c490dd83;p=platform%2Fcore%2Fuifw%2Fcoregl.git Fix return value of eglBindTexImage() --- diff --git a/src/coregl_wrappath_egl.c b/src/coregl_wrappath_egl.c index e00b570..4101e32 100644 --- a/src/coregl_wrappath_egl.c +++ b/src/coregl_wrappath_egl.c @@ -258,15 +258,18 @@ finish: return ret; } -void +EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) { + EGLBoolean ret = EGL_FALSE; + _COREGL_WRAP_FUNC_BEGIN(); - ovr_eglBindTexImage(dpy, surface, buffer); + ret = ovr_eglBindTexImage(dpy, surface, buffer); goto finish; finish: _COREGL_WRAP_FUNC_END(); + return ret; } EGLBoolean diff --git a/src/headers/sym_egl.h b/src/headers/sym_egl.h index d31a675..21bdeec 100644 --- a/src/headers/sym_egl.h +++ b/src/headers/sym_egl.h @@ -29,7 +29,7 @@ _COREGL_SYMBOL(GL_FALSE, EGLBoolean, eglReleaseThread, (void)) _COREGL_SYMBOL(GL_FALSE, EGLSurface, eglCreatePbufferFromClientBuffer, (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list)) _COREGL_SYMBOL(GL_FALSE, EGLBoolean, eglSurfaceAttrib, (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)) -_COREGL_SYMBOL(GL_FALSE, void, eglBindTexImage, (EGLDisplay dpy, EGLSurface surface, EGLint buffer)) +_COREGL_SYMBOL(GL_FALSE, EGLBoolean, eglBindTexImage, (EGLDisplay dpy, EGLSurface surface, EGLint buffer)) _COREGL_SYMBOL(GL_FALSE, EGLBoolean, eglReleaseTexImage, (EGLDisplay dpy, EGLSurface surface, EGLint buffer)) _COREGL_SYMBOL(GL_FALSE, EGLBoolean, eglSwapInterval, (EGLDisplay dpy, EGLint interval)) _COREGL_SYMBOL(GL_FALSE, EGLContext, eglCreateContext, (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint* attrib_list))