st/mesa: respect force_s3tc_enable environment variable
[mesa.git] / src / mesa / state_tracker / st_atom_pixeltransfer.c
index 95b706cb96c7ca1f42aea545097ef64b13d89c72..1f833d2821297a5cacf57a8d5680753bb84a6f72 100644 (file)
@@ -94,7 +94,7 @@ create_color_map_texture(struct gl_context *ctx)
    const uint texSize = 256; /* simple, and usually perfect */
 
    /* find an RGBA texture format */
-   format = st_choose_format(pipe->screen, GL_RGBA,
+   format = st_choose_format(pipe->screen, GL_RGBA, GL_NONE, GL_NONE,
                              PIPE_TEXTURE_2D, 0, PIPE_BIND_SAMPLER_VIEW);
 
    /* create texture for color map/table */