projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1252204
)
ilo: correctly check for stencil ref change
author
Chia-I Wu
<olvaffe@gmail.com>
Wed, 7 Aug 2013 09:32:38 +0000
(17:32 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Wed, 7 Aug 2013 10:00:46 +0000
(18:00 +0800)
I intended to do a memcmp(), not a memcpy()...
src/gallium/drivers/ilo/ilo_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_state.c
b/src/gallium/drivers/ilo/ilo_state.c
index 59cc8ff362100135c175b4ada9393f4e3b49e32b..fea530af2bda18853b7787bebbff45d9fa16dc3c 100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_state.c
+++ b/
src/gallium/drivers/ilo/ilo_state.c
@@
-574,7
+574,7
@@
ilo_set_stencil_ref(struct pipe_context *pipe,
struct ilo_context *ilo = ilo_context(pipe);
/* util_blitter may set this unnecessarily */
- if (!memc
py
(&ilo->stencil_ref, state, sizeof(*state)))
+ if (!memc
mp
(&ilo->stencil_ref, state, sizeof(*state)))
return;
ilo->stencil_ref = *state;