diff options
author | Oliver McFadden <[email protected]> | 2012-09-11 09:17:44 +0300 |
---|---|---|
committer | Oliver McFadden <[email protected]> | 2012-09-15 12:56:52 +0300 |
commit | 0ba82f910874e07180d08ae37ebd043eee727f84 (patch) | |
tree | e85ab2d94bb1c9d384348a3f0fb9d9fcc5c11cc1 | |
parent | 26a26e9992d243dbdcd2f7f9a47723fe5cf060d2 (diff) |
mesa: remove FEATURE_pixel_transfer define.
Signed-off-by: Oliver McFadden <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r-- | src/mesa/main/mfeatures.h | 1 | ||||
-rw-r--r-- | src/mesa/main/pixel.c | 6 | ||||
-rw-r--r-- | src/mesa/main/pixel.h | 23 |
3 files changed, 0 insertions, 30 deletions
diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index d604c69ec77..73f707482e8 100644 --- a/src/mesa/main/mfeatures.h +++ b/src/mesa/main/mfeatures.h @@ -84,7 +84,6 @@ #define FEATURE_remap_table 0 #endif -#define FEATURE_pixel_transfer FEATURE_GL #define FEATURE_queryobj FEATURE_GL #define FEATURE_rastpos FEATURE_GL #define FEATURE_texture_fxt1 FEATURE_GL diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c index 450c936b745..f926c56a440 100644 --- a/src/mesa/main/pixel.c +++ b/src/mesa/main/pixel.c @@ -40,9 +40,6 @@ #include "main/dispatch.h" -#if FEATURE_pixel_transfer - - /**********************************************************************/ /***** glPixelZoom *****/ /**********************************************************************/ @@ -670,9 +667,6 @@ _mesa_init_pixel_dispatch(struct _glapi_table *disp) } -#endif /* FEATURE_pixel_transfer */ - - /**********************************************************************/ /***** Initialization *****/ /**********************************************************************/ diff --git a/src/mesa/main/pixel.h b/src/mesa/main/pixel.h index 797b0d9d624..bfd76d93467 100644 --- a/src/mesa/main/pixel.h +++ b/src/mesa/main/pixel.h @@ -41,8 +41,6 @@ struct _glapi_table; struct gl_context; -#if FEATURE_pixel_transfer - extern void GLAPIENTRY _mesa_PixelTransferf(GLenum pname, GLfloat param); @@ -52,27 +50,6 @@ _mesa_update_pixel( struct gl_context *ctx, GLuint newstate ); extern void _mesa_init_pixel_dispatch( struct _glapi_table * disp ); -#else /* FEATURE_pixel_transfer */ - -static inline void GLAPIENTRY -_mesa_PixelTransferf(GLenum pname, GLfloat param) -{ -} - - -static inline void -_mesa_update_pixel(struct gl_context *ctx, GLuint newstate) -{ -} - -static inline void -_mesa_init_pixel_dispatch(struct _glapi_table *disp) -{ -} - -#endif /* FEATURE_pixel_transfer */ - - extern void _mesa_init_pixel( struct gl_context * ctx ); |