mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-22 16:10:05 +01:00
glamor: Set active texture on glamor_copy_n_to_n setup.
Fixes failure in rendercheck -t blend -o src
This commit is contained in:
parent
be64167fea
commit
e6bf505736
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue