X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fapi_noop.h;h=aca7f088db6b1464474e8ee91b5367b10f7bde46;hb=7f48278edc70ad0841cbee2c46add7653b4fac15;hp=1150984d64bb420c0a5b1fd2c8e142b5212e081e;hpb=7bf63473623e01933adc0e8f4464eda8f2860564;p=mesa.git diff --git a/src/mesa/main/api_noop.h b/src/mesa/main/api_noop.h index 1150984d64b..aca7f088db6 100644 --- a/src/mesa/main/api_noop.h +++ b/src/mesa/main/api_noop.h @@ -25,8 +25,10 @@ #ifndef _API_NOOP_H #define _API_NOOP_H -#include "mtypes.h" -#include "context.h" +#include "main/mfeatures.h" +#include "main/mtypes.h" + +#if FEATURE_beginend extern void GLAPIENTRY _mesa_noop_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); @@ -54,4 +56,6 @@ _mesa_noop_MultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, extern void _mesa_noop_vtxfmt_init(GLvertexformat *vfmt); -#endif +#endif /* FEATURE_beginend */ + +#endif /* _API_NOOP_H */