summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-02 13:22:22 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-11-05 08:04:48 -0700
commit794e03d3926614036d285f2033d8708c7667814a (patch)
treee6b4a3e8958c4ce844c32101a25effb4c5a2e33e /src/mesa/state_tracker/st_context.h
parent7edf6304687a05f34e3f1e471451f54e7c8a5d47 (diff)
Introduce st_framebuffer type and st_create_framebuffer(), st_make_current()
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 7ab69df7c7b..9b232827f4a 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -167,6 +167,16 @@ static INLINE struct st_context *st_context(GLcontext *ctx)
}
+/**
+ * Wrapper for GLframebuffer, nothing extra for now.
+ * This is an opaque type to the outside world.
+ */
+struct st_framebuffer
+{
+ GLframebuffer Base;
+};
+
+
extern void st_init_driver_functions(struct dd_function_table *functions);