X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Frastpos.h;h=d113906f410b2e94e6afa90ff755d5b204842ad9;hb=8395f206a86b3700fc5f8eefc4d9b55e7e150d25;hp=b2127225b6b8d7c0e6469d233e2bcb4cab883136;hpb=006a526edb0f5a67679309a867a1af22d94e1687;p=mesa.git diff --git a/src/mesa/main/rastpos.h b/src/mesa/main/rastpos.h index b2127225b6b..d113906f410 100644 --- a/src/mesa/main/rastpos.h +++ b/src/mesa/main/rastpos.h @@ -32,23 +32,19 @@ #define RASTPOS_H -#include "main/mtypes.h" +#include "compiler.h" +#include "mfeatures.h" +struct _glapi_table; +struct gl_context; #if FEATURE_rastpos -#define _MESA_INIT_RASTPOS_FUNCTIONS(driver, impl) \ - do { \ - (driver)->RasterPos = impl ## RasterPos; \ - } while (0) - extern void _mesa_init_rastpos_dispatch(struct _glapi_table *disp); #else /* FEATURE_rastpos */ -#define _MESA_INIT_RASTPOS_FUNCTIONS(driver, impl) do { } while (0) - static INLINE void _mesa_init_rastpos_dispatch(struct _glapi_table *disp) { @@ -57,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); /*@}*/