mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 05:38:16 +02:00
st: add prototype for st_get_framebuffer_dimensions()
This commit is contained in:
parent
6d3e2e7e92
commit
632055f831
2 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue