projects
/
platform
/
upstream
/
xorg-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bf1eb5
)
Remove redundant dispatch->glEnable(GL_TEXTURE_2D)
author
Brian Paul
<brianp@vmware.com>
Sat, 19 Oct 2013 22:10:53 +0000
(16:10 -0600)
committer
Eric Anholt
<eric@anholt.net>
Wed, 18 Dec 2013 19:23:54 +0000
(11:23 -0800)
The same call was already made a few lines earlier.
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
glamor/glamor_putimage.c
patch
|
blob
|
history
diff --git
a/glamor/glamor_putimage.c
b/glamor/glamor_putimage.c
index
6567f14
..
99f7ac6
100644
(file)
--- a/
glamor/glamor_putimage.c
+++ b/
glamor/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