projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe7257
)
mesa: fix flags assignment in save_WaitSync()
author
Brian Paul
<brianp@vmware.com>
Fri, 29 Nov 2013 13:40:35 +0000
(06:40 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 29 Nov 2013 13:41:14 +0000
(06:41 -0700)
The flags value is a bitfield so use the union's 'bf' field, not 'e'
(enum) field. There's no actual change in behavior here since both
fields of the union are the same size.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/dlist.c
b/src/mesa/main/dlist.c
index 0b813275805e92f3b86af4b3639ba1f09afd3718..74800da9ef1f88a413bd1d33b9003a9f11c032a9 100644
(file)
--- a/
src/mesa/main/dlist.c
+++ b/
src/mesa/main/dlist.c
@@
-6775,7
+6775,7
@@
save_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
union uint64_pair p;
p.uint64 = timeout;
n[1].data = sync;
- n[2].
e
= flags;
+ n[2].
bf
= flags;
n[3].ui = p.uint32[0];
n[4].ui = p.uint32[1];
}