};
-FetchTexelFunc
-_mesa_get_texel_fetch_func(gl_format format, GLuint dims)
+static FetchTexelFunc
+get_texel_fetch_func(gl_format format, GLuint dims)
{
#ifdef DEBUG
/* check that the table entries are sorted by format name */
case 3:
return texfetch_funcs[format].Fetch3D;
default:
- assert(0 && "bad dims in _mesa_get_texel_fetch_func");
+ assert(0 && "bad dims in get_texel_fetch_func");
return NULL;
}
}
format = _mesa_get_srgb_format_linear(format);
}
- texImage->FetchTexel = _mesa_get_texel_fetch_func(format, dims);
+ texImage->FetchTexel = get_texel_fetch_func(format, dims);
ASSERT(texImage->FetchTexel);
}
#include "swrast/s_context.h"
-extern FetchTexelFunc
-_mesa_get_texel_fetch_func(gl_format format, GLuint dims);
-
void
_mesa_update_fetch_functions(struct gl_context *ctx, GLuint unit);