don't include mtypes.h in st_public.h
authorBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 23:38:07 +0000 (16:38 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 23:38:07 +0000 (16:38 -0700)
src/mesa/state_tracker/st_framebuffer.c
src/mesa/state_tracker/st_public.h

index ec120ba39ab373904b88378e20e2f58b190721f7..b43b9b7b9b1a60e69302371ca56dd1e872b636e5 100644 (file)
@@ -96,7 +96,7 @@ struct st_framebuffer *st_create_framebuffer( const __GLcontextModes *visual,
 
 
 void st_resize_framebuffer( struct st_framebuffer *stfb,
-                            GLuint width, GLuint height )
+                            uint width, uint height )
 {
    if (stfb->Base.Width != width || stfb->Base.Height != height) {
       GET_CURRENT_CONTEXT(ctx);
index d81cf605033b8bb22e07b4823b07f34c56ebe0da..9e36e1e6e598b30ff8f052e34d3fb83451847654 100644 (file)
@@ -28,7 +28,7 @@
 #ifndef ST_PUBLIC_H
 #define ST_PUBLIC_H
 
-#include "mtypes.h"
+#include "pipe/p_compiler.h"
 
 
 #define ST_SURFACE_FRONT_LEFT   0
@@ -53,11 +53,11 @@ void st_copy_context_state(struct st_context *dst, struct st_context *src,
                            uint mask);
 
 struct st_framebuffer *st_create_framebuffer( const __GLcontextModes *visual,
-                                              GLboolean createRenderbuffers,
+                                              boolean createRenderbuffers,
                                               void *privateData);
 
 void st_resize_framebuffer( struct st_framebuffer *stfb,
-                            GLuint width, GLuint height );
+                            uint width, uint height );
 
 struct pipe_surface *st_get_framebuffer_surface(struct st_framebuffer *stfb,
                                                 uint surfIndex);