Commit e6bf5057 authored by Emma Anholt's avatar Emma Anholt Committed by Zhigang Gong
Browse files

glamor: Set active texture on glamor_copy_n_to_n setup.

Fixes failure in rendercheck -t blend -o src
parent be64167f
......@@ -74,6 +74,7 @@ glamor_copy_n_to_n(DrawablePtr src,
goto fail;
}
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, src_pixmap_priv->tex);
glEnable(GL_TEXTURE_2D);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment