diff options
author | Matt Turner <[email protected]> | 2012-11-13 13:26:11 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-11-15 15:21:28 -0800 |
commit | 32cc20d9f52ef48e6cbfb8e8b90a5f7660b73421 (patch) | |
tree | e6119543c8780395ad1d463c900ea656393a31fd /src/mesa/main/syncobj.c | |
parent | 5b0012f5c27b05d3caa8081165dbaebddefc414f (diff) |
mesa: return INVALID_VALUE from WaitSync if flags != 0
Fixes gles3conform's sync_error_waitsync_flags test.
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/syncobj.c')
-rw-r--r-- | src/mesa/main/syncobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/syncobj.c b/src/mesa/main/syncobj.c index c4fe3447887..430c1eeb56d 100644 --- a/src/mesa/main/syncobj.c +++ b/src/mesa/main/syncobj.c @@ -352,7 +352,7 @@ _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) } if (flags != 0) { - _mesa_error(ctx, GL_INVALID_ENUM, "glWaitSync(flags=0x%x)", flags); + _mesa_error(ctx, GL_INVALID_VALUE, "glWaitSync(flags=0x%x)", flags); return; } |