projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52bc90c
)
llvmpipe: Fix typo in assert.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 22 Apr 2010 14:11:57 +0000
(15:11 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 22 Apr 2010 14:11:57 +0000
(15:11 +0100)
src/gallium/drivers/llvmpipe/lp_state_fs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 59d5a440c03f001aa1ffb7c6873e5cc5c4f5165a..551c3757bbbe3a5061a2569dabfb6dc48c96f762 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_fs.c
@@
-1112,8
+1112,8
@@
make_variant_key(struct llvmpipe_context *lp,
unsigned chan;
format_desc = util_format_description(lp->framebuffer.cbufs[i]->format);
- assert(format_desc->
layout
== UTIL_FORMAT_COLORSPACE_RGB ||
- format_desc->
layout
== UTIL_FORMAT_COLORSPACE_SRGB);
+ assert(format_desc->
colorspace
== UTIL_FORMAT_COLORSPACE_RGB ||
+ format_desc->
colorspace
== UTIL_FORMAT_COLORSPACE_SRGB);
key->blend.rt[i].colormask = lp->blend->rt[i].colormask;