summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_public.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom-at-vmware-dot-com>2009-04-28 14:12:39 +0200
committerThomas Hellstrom <thellstrom-at-vmware-dot-com>2009-04-28 14:22:33 +0200
commit3d2bba0d10d59a9c2d6d09c5dc3fabe148d5e0d7 (patch)
treecb13cb332c25c53c7f69371becc1a19cda73afd0 /src/mesa/state_tracker/st_public.h
parentaef3bccbdaf20f7e0e1fdab0084f60556a12d55d (diff)
st: Add an st_get_current() function.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r--src/mesa/state_tracker/st_public.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 030314372f9..290b8a974e6 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -95,6 +95,8 @@ void st_make_current(struct st_context *st,
struct st_framebuffer *draw,
struct st_framebuffer *read);
+struct st_context *st_get_current(void);
+
void st_flush( struct st_context *st, uint pipeFlushFlags,
struct pipe_fence_handle **fence );
void st_finish( struct st_context *st );