diff options
author | Chad Versace <[email protected]> | 2013-05-06 07:41:11 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2013-05-08 08:44:05 -0700 |
commit | 2878f4685c8a5165937b5f4510b602d1a67af055 (patch) | |
tree | 701fcde102963519d6bb404f1e0791a381da0a06 /src/egl/main/eglscreen.c | |
parent | 38d2a16c0113b905c46804695c4fafd1b5865d08 (diff) |
egl/android: Fix error condition for EGL_ANDROID_image_native_buffer
Emit EGL_BAD_CONTEXT if the user passes a context to
eglCreateImageKHR(type=EGL_ANDROID_image_native_buffer).
From the EGL_ANDROID_image_native_buffer spec:
* If <target> is EGL_NATIVE_BUFFER_ANDROID and <ctx> is not
EGL_NO_CONTEXT, the error EGL_BAD_CONTEXT is generated.
Note: This is a candidate for the stable branches.
Reviewed-by: Tapani Pälli <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/egl/main/eglscreen.c')
0 files changed, 0 insertions, 0 deletions