summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-03-07 00:55:10 -0800
committerCorbin Simpson <[email protected]>2009-03-07 00:55:10 -0800
commitec1476bf31f00f5091e2a568b277962d8b667248 (patch)
treeef0f7f1ad58028093b1b7c8bff6ff3388be6f744 /src
parent709ebabb26e20c171741338a3a9e9626ae87aa87 (diff)
r300-gallium: Typo in assert.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_state_derived.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c
index d15b4ff2e1a..e6bb4083ab4 100644
--- a/src/gallium/drivers/r300/r300_state_derived.c
+++ b/src/gallium/drivers/r300/r300_state_derived.c
@@ -143,7 +143,7 @@ static void r300_update_vertex_layout(struct r300_context* r300)
for (i = 0; i < vinfo.num_attribs; i++) {
/* Make sure we have a proper destination for our attribute */
- assert(tab[i] == -1);
+ assert(tab[i] != -1);
temp = translate_vertex_data_type(vinfo.attrib[i].emit) |
(tab[i] << R300_DST_VEC_LOC_SHIFT);