mesa: fix convolve/convolution mix-ups
authorBrian <brian.paul@tungstengraphics.com>
Mon, 6 Oct 2008 23:10:45 +0000 (17:10 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 6 Oct 2008 23:10:45 +0000 (17:10 -0600)
src/mesa/main/api_exec.c
src/mesa/main/mfeatures.h
src/mesa/state_tracker/st_cb_texture.c

index 0c3c9c4de49f126ab7f4709a50920b52e5567404..bae3bf11cb51af2b45d5afc3dc6ed81cdb161cab 100644 (file)
@@ -58,7 +58,7 @@
 #include "colortab.h"
 #endif
 #include "context.h"
-#if FEATURE_convolution
+#if FEATURE_convolve
 #include "convolve.h"
 #endif
 #include "depth.h"
@@ -402,7 +402,7 @@ _mesa_init_exec_table(struct _glapi_table *exec)
    SET_GetColorTableParameteriv(exec, _mesa_GetColorTableParameteriv);
 #endif
 
-#if FEATURE_convolution
+#if FEATURE_convolve
    SET_ConvolutionFilter1D(exec, _mesa_ConvolutionFilter1D);
    SET_ConvolutionFilter2D(exec, _mesa_ConvolutionFilter2D);
    SET_ConvolutionParameterf(exec, _mesa_ConvolutionParameterf);
index b08c017ec8d8fa7434b9a409e37206f57b1e99a3..487493f88e1a3103c90412f57a71ab3e6e66acbd 100644 (file)
@@ -39,7 +39,7 @@
 #define FEATURE_accum  _HAVE_FULL_GL
 #define FEATURE_attrib_stack  _HAVE_FULL_GL
 #define FEATURE_colortable  _HAVE_FULL_GL
-#define FEATURE_convolution  _HAVE_FULL_GL
+#define FEATURE_convolve  _HAVE_FULL_GL
 #define FEATURE_dispatch  _HAVE_FULL_GL
 #define FEATURE_dlist  _HAVE_FULL_GL
 #define FEATURE_draw_read_buffer  _HAVE_FULL_GL
index 958f88bf2c474e56c39c5c34c8e264535625218e..a018cdee64338db072517664316544fbe9752dd7 100644 (file)
@@ -26,7 +26,7 @@
  **************************************************************************/
 
 #include "main/imports.h"
-#if FEATURE_convolution
+#if FEATURE_convolve
 #include "main/convolve.h"
 #endif
 #include "main/enums.h"
@@ -409,7 +409,7 @@ st_TexImage(GLcontext * ctx,
    stImage->face = _mesa_tex_target_to_face(target);
    stImage->level = level;
 
-#if FEATURE_convolution
+#if FEATURE_convolve
    if (ctx->_ImageTransferState & IMAGE_CONVOLUTION_BIT) {
       _mesa_adjust_image_for_convolution(ctx, dims, &postConvWidth,
                                          &postConvHeight);