mesa: return INVALID_VALUE from WaitSync if flags != 0
authorMatt Turner <mattst88@gmail.com>
Tue, 13 Nov 2012 21:26:11 +0000 (13:26 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 15 Nov 2012 23:21:28 +0000 (15:21 -0800)
commit32cc20d9f52ef48e6cbfb8e8b90a5f7660b73421
treee6119543c8780395ad1d463c900ea656393a31fd
parent5b0012f5c27b05d3caa8081165dbaebddefc414f
mesa: return INVALID_VALUE from WaitSync if flags != 0

Fixes gles3conform's sync_error_waitsync_flags test.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/syncobj.c