summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2009-12-24 21:29:41 +0100
committerMarek Olšák <[email protected]>2010-03-19 01:18:18 +0100
commitcba6430524198a1bdcdeada03cbe946a454f3935 (patch)
tree5da7d19636e93028a6d9573e663e084be62d28d8 /src/gallium/drivers/r300/r300_context.c
parent8df65e98998b4c104db30cbba8a38be7eb2a9acd (diff)
r300g: add generating texture coordinates for point sprites (WIP)
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index d994a46ccfe..210e31e69c7 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -202,6 +202,8 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
r300_setup_atoms(r300);
+ r300->sprite_coord_index = -1;
+
/* Open up the OQ BO. */
r300->oqbo = screen->buffer_create(screen, 4096,
PIPE_BUFFER_USAGE_VERTEX, 4096);