summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-10-19 16:10:53 -0600
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-10-31 20:38:55 +0800
commit2cefae213c15fb381b49b74b2cdd6cb514c63a7d (patch)
treed8aac50e5835155683cd9ec941c9517595811889
parent655e900025d903c2c9606ddaea1e8d5d94ea1a40 (diff)
Remove redundant dispatch->glEnable(GL_TEXTURE_2D)
The same call was already made a few lines earlier. Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
-rw-r--r--src/glamor_putimage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glamor_putimage.c b/src/glamor_putimage.c
index 6567f14..99f7ac6 100644
--- a/src/glamor_putimage.c
+++ b/src/glamor_putimage.c
@@ -181,7 +181,6 @@ glamor_put_image_xybitmap(DrawablePtr drawable, GCPtr gc,
w, h, 0, GL_COLOR_INDEX, GL_BITMAP, bits);
dispatch->glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
dispatch->glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0);
- dispatch->glEnable(GL_TEXTURE_2D);
/* Now that we've set up our bitmap texture and the shader, shove
* the destination rectangle through the cliprects and run the