r300g: hack around issue with doom3 and 0 stride
authorDave Airlie <airlied@redhat.com>
Sat, 10 Apr 2010 22:04:37 +0000 (08:04 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Apr 2010 22:08:49 +0000 (08:08 +1000)
commit21ba2cd63239eed4930959218cf5b03c56b26065
treea9b555894966148e5b36fff1b984b4ad5d4304e0
parent9b3df661bd50b34ca73ae55f98ced64fd970f443
r300g: hack around issue with doom3 and 0 stride

This is most likely a bug in the mesa state tracker, but do the quick hack
for now to avoid the divide by 0.

reported and hack generated by almos on #radeon

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