st/mesa: use a generic varying to pass the clear color to the FS
[mesa.git] / src / mesa / state_tracker / st_cb_eglimage.h
index b6e44d5aff58d3b1772d12d0623396e5352b5835..1750b914788960efa52582dc89c334f542d21aef 100644 (file)
 #define ST_CB_EGLIMAGE_H
 
 #include "main/compiler.h"
+#include "main/mfeatures.h"
 
 struct dd_function_table;
 
-#if FEATURE_OES_EGL_image
-
 extern void
 st_init_eglimage_functions(struct dd_function_table *functions);
 
-#else
-
-static INLINE void
-st_init_eglimage_functions(struct dd_function_table *functions)
-{
-}
-
-#endif
-
 #endif /* ST_CB_EGLIMAGE_H */