added st_unreference_framebuffer()

This commit is contained in:
Brian
2007-11-05 08:41:45 -07:00
parent fc73b21606
commit 44dfed15e0
2 changed files with 10 additions and 1 deletions
+7
View File
@@ -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);
}
+3 -1
View File
@@ -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);