X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Frastpos.h;h=cdd94a66ce063f6071ea89e9d3d8bd65e89a58f2;hb=bbcb648bc2f45dd85e33c7301527c8f6d97cbce6;hp=4994616d40a52dfd249e7f64d80a585bdb8df70d;hpb=26fe16a99b762d27e8f499c2e02116e9c4b7a6bb;p=mesa.git diff --git a/src/mesa/main/rastpos.h b/src/mesa/main/rastpos.h index 4994616d40a..cdd94a66ce0 100644 --- a/src/mesa/main/rastpos.h +++ b/src/mesa/main/rastpos.h @@ -32,8 +32,11 @@ #define RASTPOS_H -#include "main/mtypes.h" +#include "compiler.h" +#include "mfeatures.h" +struct _glapi_table; +struct gl_context; #if FEATURE_rastpos @@ -42,7 +45,7 @@ _mesa_init_rastpos_dispatch(struct _glapi_table *disp); #else /* FEATURE_rastpos */ -static INLINE void +static inline void _mesa_init_rastpos_dispatch(struct _glapi_table *disp) { } @@ -50,7 +53,7 @@ _mesa_init_rastpos_dispatch(struct _glapi_table *disp) #endif /* FEATURE_rastpos */ extern void -_mesa_init_rastpos(GLcontext *ctx); +_mesa_init_rastpos(struct gl_context *ctx); /*@}*/