diff options
author | Brian <[email protected]> | 2007-11-05 16:38:07 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-11-05 16:38:07 -0700 |
commit | ced9c0f8c4246c055aee85f428af705f232702bc (patch) | |
tree | 2038ef7a955cc87c31b9cf07d41155e053c754f6 | |
parent | 9b0f71e37f2ed129997b247d58f8d5e9004f4935 (diff) |
don't include mtypes.h in st_public.h
-rw-r--r-- | src/mesa/state_tracker/st_framebuffer.c | 2 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_public.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_framebuffer.c b/src/mesa/state_tracker/st_framebuffer.c index ec120ba39ab..b43b9b7b9b1 100644 --- a/src/mesa/state_tracker/st_framebuffer.c +++ b/src/mesa/state_tracker/st_framebuffer.c @@ -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); diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h index d81cf605033..9e36e1e6e59 100644 --- a/src/mesa/state_tracker/st_public.h +++ b/src/mesa/state_tracker/st_public.h @@ -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); |