st: add prototype for st_get_framebuffer_dimensions()
authorAlan Hourihane <alanh@tungstengraphics.com>
Fri, 26 Sep 2008 14:08:57 +0000 (15:08 +0100)
committerAlan Hourihane <alanh@tungstengraphics.com>
Fri, 26 Sep 2008 14:08:57 +0000 (15:08 +0100)
src/mesa/state_tracker/st_framebuffer.c
src/mesa/state_tracker/st_public.h

index cde6a7898e4e0e64e9865bc3fa9222685ad8b06e..1ff700938236cddae6098139d1f5a06bc31a0551 100644 (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;
index 835c5b28d066ea9e6c16d3c811664f9d65a342be..6ef30f4403299e838aa3c3b1712083325a3128b0 100644 (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);