summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_framebuffer.c7
-rw-r--r--src/mesa/state_tracker/st_public.h4
2 files changed, 10 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_framebuffer.c b/src/mesa/state_tracker/st_framebuffer.c
index f454499fd85..54ae175e60e 100644
--- a/src/mesa/state_tracker/st_framebuffer.c
+++ b/src/mesa/state_tracker/st_framebuffer.c
@@ -105,3 +105,10 @@ void st_resize_framebuffer( struct st_framebuffer *stfb,
}
}
+
+void st_unreference_framebuffer( struct st_framebuffer **stfb )
+{
+ _mesa_unreference_framebuffer((struct gl_framebuffer **) stfb);
+}
+
+
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 74a94d1abc6..abdfcca80f1 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -48,9 +48,11 @@ void st_destroy_context2( struct st_context *st );
struct st_framebuffer *st_create_framebuffer( const __GLcontextModes *visual );
-void st_resize_framebuffer( struct st_framebuffer *,
+void st_resize_framebuffer( struct st_framebuffer *stfb,
GLuint width, GLuint height );
+void st_unreference_framebuffer( struct st_framebuffer **stfb );
+
void st_make_current(struct st_context *st,
struct st_framebuffer *draw,
struct st_framebuffer *read);