[PATCH 1/4] glamor: Drop unnecessary glTexParameteri() in SetSpans().
Eric Anholt
eric at anholt.net
Sun Jun 15 22:28:40 PDT 2014
If this path needed the filters set, so would all the other
glDrawArrays() callers. But they don't.
Signed-off-by: Eric Anholt <eric at anholt.net>
---
glamor/glamor_spans.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/glamor/glamor_spans.c b/glamor/glamor_spans.c
index 46ba6c3..582d11d 100644
--- a/glamor/glamor_spans.c
+++ b/glamor/glamor_spans.c
@@ -326,9 +326,6 @@ glamor_set_spans_gl(DrawablePtr drawable, GCPtr gc, char *src,
glamor_make_current(glamor_priv);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
-
glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
glamor_pixmap_loop(pixmap_priv, box_x, box_y) {
--
2.0.0
More information about the xorg-devel
mailing list