summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-01-05 23:55:00 -0800
committerCorbin Simpson <[email protected]>2009-02-01 23:30:19 -0800
commitda1928d4a6d48e915960798015ed1f0c1fa95f0c (patch)
tree80440aff096caafa9891ef85a593b087a0c23bcb /src/gallium/drivers/r300/r300_context.h
parentb3cf2af13a5d053ce3ff0c4f3715123d34bfcc32 (diff)
gallium-r300: Initial commit.
Or should it be r300-gallium? Meh, whatever.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
new file mode 100644
index 00000000000..cd4b56c827c
--- /dev/null
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -0,0 +1,4 @@
+/* Convenience cast wrapper. */
+static struct r300_context* r300_context(struct pipe_context* pipe) {
+ return (struct r300_context*)pipe;
+} \ No newline at end of file