diff options
author | Eric Anholt <eric@anholt.net> | 2014-04-02 13:41:09 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-07-17 17:34:16 -0700 |
commit | 2ab0fba9df695f19f0b43321d01395736f865c69 (patch) | |
tree | d52d82e408cc94e362eaf1c44cdc8379493818e8 /glamor | |
parent | 199d9a6a942af9b443616f6ef6d26052ef3f48b9 (diff) |
glamor: Drop unnecessary glTexParameteri() in SetSpans().
If this path needed the filters set, so would all the other
glDrawArrays() callers. But they don't.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor')
-rw-r--r-- | glamor/glamor_spans.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/glamor/glamor_spans.c b/glamor/glamor_spans.c index 46ba6c38f..582d11df3 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) { |