gallium: remove the ugly pipe->draw stage lookup code in aaline/point/pstipple stages

Added a void *draw ptr to pipe_context.  Probably look for a better solution someday.
This commit is contained in:
Brian
2008-02-29 10:07:44 -07:00
parent ebe3b34ad2
commit 78220aea86
4 changed files with 13 additions and 84 deletions

View File

@@ -56,6 +56,7 @@ struct pipe_context {
struct pipe_screen *screen;
void *priv; /** context private data (for DRI for example) */
void *draw; /** private, for draw module (temporary? */
void (*destroy)( struct pipe_context * );