diff options
author | Guillaume Charifi <[email protected]> | 2016-06-20 15:27:33 +0200 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-07-07 11:28:55 -0700 |
commit | 9fea9d6f8e862a8b3f569d37d06d1ff69c6e18f5 (patch) | |
tree | e22c4431c3f6fcdfdb3b245c3af20160c6938701 /src/mesa/drivers/dri/i965/intel_debug.c | |
parent | 7adb9b094894a512c019b3378eb9e3c69d830edc (diff) |
egl: Fix the bad surface attributes combination checking for pbuffers. (v3)
Fixes a regression induced by commit a0674ce5c41903ccd161e89abb149621bfbc40d2:
When EGL_TEXTURE_FORMAT and EGL_TEXTURE_TARGET were both specified (and
both != EGL_NO_TEXTURE), an error was instantly triggered, before the
other one had even a chance to be checked, which is obviously not the
intended behaviour.
v2: Full commit hash, remove useless variables.
v3: [chadv] Add Fixes footers.
Fixes: piglit "spec/egl 1.4/eglcreatepbuffersurface and then glclear"
Fixes: piglit "spec/egl 1.4/largest possible eglcreatepbuffersurface and then glclear"
Signed-off-by: Guillaume Charifi <[email protected]>
Reviewed-by: Frank Binns <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_debug.c')
0 files changed, 0 insertions, 0 deletions