diff options
author | Plamena Manolova <[email protected]> | 2016-05-25 17:29:55 +0100 |
---|---|---|
committer | Ben Widawsky <[email protected]> | 2016-05-26 08:02:48 -0700 |
commit | a0674ce5c41903ccd161e89abb149621bfbc40d2 (patch) | |
tree | 9975c20f78fa8d5135a12758d12f6a4f680436c4 /src/mesa/Makefile.sources | |
parent | 8539c9bf3158416b22346dc49696872e631e969f (diff) |
egl: Additional attribute validation for eglCreatePbufferSurface
eglCreatePbufferSurface should generate an EGL_BAD_MATCH error if:
1: The EGL_TEXTURE_FORMAT attribute is EGL_NO_TEXTURE and EGL_TEXTURE_TARGET
is something other than EGL_NO_TEXTURE
2: EGL_TEXTURE_FORMAT is something other than EGL_NO_TEXTURE and
EGL_TEXTURE_TARGET is EGL_NO_TEXTURE.
This fixes the dEQP-EGL.functional.negative_api.create_pbuffer_surface test.
Signed-off-by: Plamena Manolova <[email protected]>
Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.sources')
0 files changed, 0 insertions, 0 deletions