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:
@@ -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 * );
|
||||
|
||||
|
Reference in New Issue
Block a user