st/mesa: set compressed_data to NULL when freed
[mesa.git] / src / mesa / state_tracker / st_texture.c
index 72fc4a0c09b0e7197299115af877ebe66ffce9f1..a2a310daab4cfe640209edb8ac57441c09bbe58c 100644 (file)
@@ -416,7 +416,7 @@ st_create_color_map_texture(struct gl_context *ctx)
    /* find an RGBA texture format */
    format = st_choose_format(st, GL_RGBA, GL_NONE, GL_NONE,
                              PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW,
-                             FALSE);
+                             false, false);
 
    /* create texture for color map/table */
    pt = st_texture_create(st, PIPE_TEXTURE_2D, format, 0,