Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Drew DeVault
xserver
Commits
e6bf5057
Commit
e6bf5057
authored
Feb 11, 2010
by
Emma Anholt
Committed by
Zhigang Gong
Sep 26, 2011
Browse files
glamor: Set active texture on glamor_copy_n_to_n setup.
Fixes failure in rendercheck -t blend -o src
parent
be64167f
Changes
1
Hide whitespace changes
Inline
Side-by-side
glamor/glamor_copyarea.c
View file @
e6bf5057
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment