st/mesa: flush the glBitmap cache before changing framebuffer state
[mesa.git] / src / mesa / state_tracker / st_cb_rasterpos.h
index 2b992e1405ec99b1285a1f2bb01600a101e2500d..b61411bd20c46bcbc5c79d8df4ee2b39e18e7d24 100644 (file)
 #ifndef ST_CB_RASTERPOS_H
 #define ST_CB_RASTERPOS_H
 
+
+#include "main/compiler.h"
+#include "main/mfeatures.h"
+
+struct dd_function_table;
+
+#if FEATURE_rastpos
+
 extern void st_init_rasterpos_functions(struct dd_function_table *functions);
 
-#endif
+#else
+
+static INLINE void
+st_init_rasterpos_functions(struct dd_function_table *functions)
+{
+}
+
+#endif /* FEATURE_rastpos */
+
+#endif /* ST_CB_RASTERPOS_H */