Native surface which is neither texture nor renderbuffer
is possible passed to fastpath_eglCreateImageKHR() to
create image
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I62aadeb21b7f89157d9a213b70d0e71ac9ff2e82
else if ((EGLint)buffer & GL_OBJECT_TYPE_RENDERBUFFER)
type = GL_OBJECT_TYPE_RENDERBUFFER;
else {
- COREGL_ERR("\E[40;31;1m fastpath_eglCreateImageKHR buffer type error \E[0m\n");
+ ret = _orig_fastpath_eglCreateImageKHR(dpy, real_ctx, target, buffer,
+ attrib_list);
goto finish;
}