st/dri: don't set PIPE_BIND_SCANOUT for MSAA surfaces
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91231 Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -554,7 +554,7 @@ dri2_allocate_textures(struct dri_context *ctx,
|
||||
|
||||
if (drawable->textures[statt]) {
|
||||
templ.format = drawable->textures[statt]->format;
|
||||
templ.bind = drawable->textures[statt]->bind;
|
||||
templ.bind = drawable->textures[statt]->bind & ~PIPE_BIND_SCANOUT;
|
||||
templ.nr_samples = drawable->stvis.samples;
|
||||
|
||||
/* Try to reuse the resource.
|
||||
|
||||
Reference in New Issue
Block a user