mesa: Fix GL_LUMINANCE handling for textures in glGetTexImage
[mesa.git] / src / mesa / swrast / s_texfilter.h
index 2e265d685c5774ec3f2c32ea2dd6a6be660a3dd4..58b57365c7200082f9af2949047ea414f7be441d 100644 (file)
 #define S_TEXFILTER_H
 
 
-#include "swrast.h"
+#include "s_context.h"
+
+struct gl_context;
+struct gl_texture_object;
 
 
 extern texture_sample_func
-_swrast_choose_texture_sample_func( GLcontext *ctx,
-                                   const struct gl_texture_object *tObj );
+_swrast_choose_texture_sample_func( struct gl_context *ctx,
+                                   const struct gl_texture_object *tObj,
+                                    const struct gl_sampler_object *sampler);
 
 
 #endif