summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2008-09-26 15:08:57 +0100
committerAlan Hourihane <[email protected]>2008-09-26 15:08:57 +0100
commit632055f831a6eef75a73f246e2548fd2d4789acd (patch)
tree787e447b13db23c3291eb1ed67765a7fd88d4313 /src/mesa
parent6d3e2e7e92ada3c430476de7a5dddf529914b4f0 (diff)
st: add prototype for st_get_framebuffer_dimensions()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_framebuffer.c4
-rw-r--r--src/mesa/state_tracker/st_public.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_framebuffer.c b/src/mesa/state_tracker/st_framebuffer.c
index cde6a7898e4..1ff70093823 100644
--- a/src/mesa/state_tracker/st_framebuffer.c
+++ b/src/mesa/state_tracker/st_framebuffer.c
@@ -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;
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 835c5b28d06..6ef30f44032 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -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);