mesa: remove FEATURE_rastpos define.
authorOliver McFadden <oliver.mcfadden@linux.intel.com>
Tue, 11 Sep 2012 06:21:38 +0000 (09:21 +0300)
committerOliver McFadden <oliver.mcfadden@linux.intel.com>
Sat, 15 Sep 2012 09:57:00 +0000 (12:57 +0300)
Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/mfeatures.h
src/mesa/main/rastpos.c
src/mesa/main/rastpos.h
src/mesa/state_tracker/st_cb_rasterpos.c
src/mesa/state_tracker/st_cb_rasterpos.h

index cb7cce1d25cc6e2d8adfa1bf01fb68eb9d20166c..8062628d3ac6a5a7825d03eb07d7d434334dea23 100644 (file)
@@ -84,7 +84,6 @@
 #define FEATURE_remap_table               0
 #endif
 
-#define FEATURE_rastpos                   FEATURE_GL
 #define FEATURE_texture_fxt1              FEATURE_GL
 #define FEATURE_texture_s3tc              FEATURE_GL
 
index a1f6f4234160fb9894139826be20e7f05470390d..ab8e2c1a3c38b26c32a6091981e97bbbb21d5d75 100644 (file)
@@ -39,9 +39,6 @@
 #include "main/dispatch.h"
 
 
-#if FEATURE_rastpos
-
-
 /**
  * Helper function for all the RasterPos functions.
  */
@@ -533,9 +530,6 @@ _mesa_init_rastpos_dispatch(struct _glapi_table *disp)
 }
 
 
-#endif /* FEATURE_rastpos */
-
-
 /**********************************************************************/
 /** \name Initialization                                              */
 /**********************************************************************/
index cdd94a66ce063f6071ea89e9d3d8bd65e89a58f2..9bb04cc9c4808b1fd3b67f50952b9a9e009f7fdc 100644 (file)
 struct _glapi_table;
 struct gl_context;
 
-#if FEATURE_rastpos
-
 extern void
 _mesa_init_rastpos_dispatch(struct _glapi_table *disp);
 
-#else /* FEATURE_rastpos */
-
-static inline void
-_mesa_init_rastpos_dispatch(struct _glapi_table *disp)
-{
-}
-
-#endif /* FEATURE_rastpos */
-
 extern void 
 _mesa_init_rastpos(struct gl_context *ctx);
 
index 8337f4624186fd0abe1a503dc56c2988f263efcf..fb4a62ee33aa398405ff0db0838e249be65bdd56 100644 (file)
@@ -50,8 +50,6 @@
 #include "vbo/vbo.h"
 
 
-#if FEATURE_rastpos
-
 /**
  * Our special drawing pipeline stage (replaces rasterization).
  */
@@ -275,5 +273,3 @@ void st_init_rasterpos_functions(struct dd_function_table *functions)
 {
    functions->RasterPos = st_RasterPos;
 }
-
-#endif /* FEATURE_rastpos */
index b61411bd20c46bcbc5c79d8df4ee2b39e18e7d24..bfd3e41380d46a143bbbeb0ba8c151953ad753ce 100644 (file)
 
 struct dd_function_table;
 
-#if FEATURE_rastpos
-
 extern void st_init_rasterpos_functions(struct dd_function_table *functions);
 
-#else
-
-static INLINE void
-st_init_rasterpos_functions(struct dd_function_table *functions)
-{
-}
-
-#endif /* FEATURE_rastpos */
 
 #endif /* ST_CB_RASTERPOS_H */