st: export st_get_framebuffer_dimensions() to retrieve
the width & height of the fb
This commit is contained in:
parent
c7510ddc3f
commit
6d3e2e7e92
|
@ -301,3 +301,10 @@ void *st_framebuffer_private( struct st_framebuffer *stfb )
|
|||
return stfb->Private;
|
||||
}
|
||||
|
||||
void st_get_framebuffer_dimensions( struct st_framebuffer *stfb,
|
||||
int *width,
|
||||
int *height)
|
||||
{
|
||||
*width = stfb->Base.Width;
|
||||
*height = stfb->Base.Height;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue