summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/convolve.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/convolve.h')
-rw-r--r--src/mesa/main/convolve.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/convolve.h b/src/mesa/main/convolve.h
index f97c9f35bdf..deac1e2c0b3 100644
--- a/src/mesa/main/convolve.h
+++ b/src/mesa/main/convolve.h
@@ -31,6 +31,7 @@
#include "mtypes.h"
+#if _HAVE_FULL_GL
extern void
_mesa_ConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width,
GLenum format, GLenum type, const GLvoid *image);
@@ -103,5 +104,11 @@ extern void
_mesa_adjust_image_for_convolution(const GLcontext *ctx, GLuint dimensions,
GLsizei *width, GLsizei *height);
+#else
+#define _mesa_adjust_image_for_convolution(c, d, w, h) ((void)0)
+#define _mesa_convolve_1d_image(c,w,s,d) ((void)0)
+#define _mesa_convolve_2d_image(c,w,h,s,d) ((void)0)
+#define _mesa_convolve_sep_image(c,w,h,s,d) ((void)0)
+#endif
#endif