diff options
author | Corbin Simpson <[email protected]> | 2009-01-08 15:47:23 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-01 23:30:20 -0800 |
commit | 3b37cb49b821dd0c59fd5361ada6c0df9ac07db8 (patch) | |
tree | a52b04a9df6da65a7dcaaa3333999f171d512594 /src/gallium/drivers/r300/r300_context.h | |
parent | 3e09a07a265d5ee75b110954d160a73d83793c40 (diff) |
gallium-r300: Make it build.
Still todo:
- Sort out winsys.
- Less suckage.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index fd344361d91..7c2055e43e8 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -23,17 +23,19 @@ #ifndef R300_CONTEXT_H #define R300_CONTEXT_H +#include "pipe/p_context.h" + struct r300_context { /* Parent class */ struct pipe_context context; struct amd_winsys* winsys; struct draw_context* draw; -} +}; /* Convenience cast wrapper. */ -static struct r300_context* r300_context(struct pipe_context* pipe) { - return (struct r300_context*)pipe; +static struct r300_context* r300_context(struct pipe_context* context) { + return (struct r300_context*)context; } #endif /* R300_CONTEXT_H */
\ No newline at end of file |