r300g: fixup 0 stride buffer properly.
authorDave Airlie <airlied@redhat.com>
Sun, 18 Apr 2010 08:49:27 +0000 (18:49 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 18 Apr 2010 08:51:10 +0000 (18:51 +1000)
commit851edfe3c9d24d2678a17a8fc74c31fbea0343c2
treed87a81502d9f5c4fd9ef32ac1b844f32a9f86997
parent4b148bcf5e6cf08fac31cd10b42ac5f5a5f43cd6
r300g: fixup 0 stride buffer properly.

Just set the max index to 1, this lets doom3 run and seems correct,
though it would be better to just emit a constant like SVGA does.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_state.c