st: add prototype for st_get_framebuffer_dimensions()

This commit is contained in:
Alan Hourihane 2008-09-26 15:08:57 +01:00
parent 6d3e2e7e92
commit 632055f831
2 changed files with 5 additions and 2 deletions

View file

@ -302,8 +302,8 @@ void *st_framebuffer_private( struct st_framebuffer *stfb )
}
void st_get_framebuffer_dimensions( struct st_framebuffer *stfb,
int *width,
int *height)
uint *width,
uint *height)
{
*width = stfb->Base.Width;
*height = stfb->Base.Height;

View file

@ -75,6 +75,9 @@ void st_resize_framebuffer( struct st_framebuffer *stfb,
void st_set_framebuffer_surface(struct st_framebuffer *stfb,
uint surfIndex, struct pipe_surface *surf);
void st_get_framebuffer_dimensions( struct st_framebuffer *stfb,
uint *width, uint *height);
struct pipe_surface *st_get_framebuffer_surface(struct st_framebuffer *stfb,
uint surfIndex);