r300g: fix typo in r3xx constant buffer emission

Ooops.
This commit is contained in:
Marek Olšák 2010-07-17 14:40:41 +02:00
parent f92d1a54e9
commit f7d6cab6cd
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ void r300_emit_fs_constants(struct r300_context* r300, unsigned size, void *stat
return;
BEGIN_CS(size);
OUT_CS_REG_SEQ(R300_PFS_PARAM_0_X, count);
OUT_CS_REG_SEQ(R300_PFS_PARAM_0_X, count * 4);
for (i = 0; i < count; i++)
for (j = 0; j < 4; j++)
OUT_CS(pack_float24(buf->ptr[i*4+j]));