r300g: Avoid returning values in a static array, fixing a potential race
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>
Mon, 22 Nov 2010 22:19:52 +0000 (23:19 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 22 Nov 2010 22:56:41 +0000 (23:56 +0100)
commit8d1ad3b21cedabb820bdc92b9395c98503e70f7b
tree6df1d458b2e1c6eca7fcebf55f67d257613c198b
parent271b7b5914d4ec0ddb93b469f618c4b69c1e5e69
r300g: Avoid returning values in a static array, fixing a potential race

(Marek: added the initializion of "vec" in the default statement)

NOTE: This is a candidate for the 7.9 branch.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r300/r300_emit.c