mesa: Fix GL_LUMINANCE handling for textures in glGetTexImage
[mesa.git] / src / mesa / swrast / s_texfilter.h
index eceab59658e61ef8db57b70998e8f5c113cc861d..58b57365c7200082f9af2949047ea414f7be441d 100644 (file)
 #define S_TEXFILTER_H
 
 
-#include "main/mtypes.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