mesa: return INVALID_VALUE from WaitSync if timeout != GL_TIMEOUT_IGNORED
authorMatt Turner <mattst88@gmail.com>
Tue, 13 Nov 2012 21:49:51 +0000 (13:49 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 15 Nov 2012 23:21:28 +0000 (15:21 -0800)
commit47d862517ea658e5f330a10fc7656c7cd67bfb16
treedd5f59dd73f26022b9e539b4a2e83f7afc144d09
parent32cc20d9f52ef48e6cbfb8e8b90a5f7660b73421
mesa: return INVALID_VALUE from WaitSync if timeout != GL_TIMEOUT_IGNORED

This was added in version 22 of the GL_ARB_sync spec.

Fixes gles3conform's sync_error_waitsync_timeout test.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/syncobj.c