projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0012f
)
mesa: return INVALID_VALUE from WaitSync if flags != 0
author
Matt Turner
<mattst88@gmail.com>
Tue, 13 Nov 2012 21:26:11 +0000
(13:26 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 15 Nov 2012 23:21:28 +0000
(15:21 -0800)
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
patch
|
blob
|
history
diff --git
a/src/mesa/main/syncobj.c
b/src/mesa/main/syncobj.c
index c4fe34478876397852869460919d18480f7e9c59..430c1eeb56d0464f719501790ec2552d32ce0992 100644
(file)
--- 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;
}