summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 28363fd36c..fd344361d9 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -23,6 +23,14 @@
#ifndef R300_CONTEXT_H
#define R300_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;