Use SecondaryColorPtr, not ColorPtr[1] (the latter is NULL).
authorVladimir Dergachev <volodya@freedesktop.org>
Mon, 31 Jan 2005 02:52:59 +0000 (02:52 +0000)
committerVladimir Dergachev <volodya@freedesktop.org>
Mon, 31 Jan 2005 02:52:59 +0000 (02:52 +0000)
commit9c1773e505307140f78eae139060feff09f9bc4f
treecde790913fdfdc1200d0cf56839137586cc7659e
parent15f108335aa315cf576fd02bc9294d690b072329
Use SecondaryColorPtr, not ColorPtr[1] (the latter is NULL).
This fixes segfault in tuxracer-demo. It locks up after this though.
src/mesa/drivers/dri/r300/r300_render.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_texmem.c