/* GL limits and extensions */
st_init_limits(pipe->screen, &ctx->Const, &ctx->Extensions);
st_init_extensions(pipe->screen, &ctx->Const,
- &ctx->Extensions, &st->options, GL_TRUE);
+ &ctx->Extensions, &st->options);
if (st_have_perfmon(st)) {
ctx->Extensions.AMD_performance_monitor = GL_TRUE;
void st_init_extensions(struct pipe_screen *screen,
struct gl_constants *consts,
struct gl_extensions *extensions,
- struct st_config_options *options,
- boolean has_lib_dxtc)
+ struct st_config_options *options)
{
unsigned i;
GLboolean *extension_table = (GLboolean *) extensions;
/* Below are the cases which cannot be moved into tables easily. */
- if (!has_lib_dxtc && !options->force_s3tc_enable) {
- extensions->EXT_texture_compression_s3tc = GL_FALSE;
- extensions->ANGLE_texture_compression_dxt = GL_FALSE;
- }
-
if (screen->get_shader_param(screen, PIPE_SHADER_TESS_CTRL,
PIPE_SHADER_CAP_MAX_INSTRUCTIONS) > 0) {
extensions->ARB_tessellation_shader = GL_TRUE;
extern void st_init_extensions(struct pipe_screen *screen,
struct gl_constants *consts,
struct gl_extensions *extensions,
- struct st_config_options *options,
- boolean has_lib_dxtc);
+ struct st_config_options *options);
#endif /* ST_EXTENSIONS_H */
_mesa_init_extensions(&extensions);
st_init_limits(screen, &consts, &extensions);
- st_init_extensions(screen, &consts, &extensions, options, GL_TRUE);
+ st_init_extensions(screen, &consts, &extensions, options);
return _mesa_get_version(&extensions, &consts, api);
}