glamor: Set active texture on glamor_copy_n_to_n setup.

Fixes failure in rendercheck -t blend -o src
This commit is contained in:
Eric Anholt 2010-02-11 09:23:09 -08:00 committed by Zhigang Gong
parent be64167fea
commit e6bf505736

View File

@ -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);