projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04490ad
)
llvmpipe: fix copy & paste bug in clear logic
author
Roland Scheidegger
<sroland@vmware.com>
Wed, 9 Jun 2010 16:46:48 +0000
(18:46 +0200)
committer
Roland Scheidegger
<sroland@vmware.com>
Wed, 9 Jun 2010 16:46:52 +0000
(18:46 +0200)
fixes bug 28450.
src/gallium/drivers/llvmpipe/lp_setup.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup.c
b/src/gallium/drivers/llvmpipe/lp_setup.c
index b6db66fe64ec3c6e247ec1c282a03af7ea9d37ac..e8aafee33ff06b296422fabff015bb8747d79bc1 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup.c
@@
-326,7
+326,7
@@
lp_setup_clear( struct lp_setup_context *setup,
if (flags & PIPE_CLEAR_DEPTHSTENCIL) {
if (setup->fb.zsbuf &&
- ((
setup->clear.
flags & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL) &&
+ ((flags & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL) &&
util_format_is_depth_and_stencil(setup->fb.zsbuf->format))
full_zs_clear = FALSE;