st/mesa: add support for ARB_texture_multisample (v3)
[mesa.git] / src / mesa / state_tracker / st_cb_drawpixels.c
index bfb8ee8e1d4364232d56e39015ba5051253ff2c2..de7b91f281b8dfaeadbf4b5131dd7d60e1936dc3 100644 (file)
@@ -465,7 +465,7 @@ alloc_texture(struct st_context *st, GLsizei width, GLsizei height,
    struct pipe_resource *pt;
 
    pt = st_texture_create(st, st->internal_target, texFormat, 0,
-                          width, height, 1, 1, PIPE_BIND_SAMPLER_VIEW);
+                          width, height, 1, 1, 0, PIPE_BIND_SAMPLER_VIEW);
 
    return pt;
 }