projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
522173a
)
mesa: don't flush vertices in glClientActiveTexture
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 20 Jun 2017 00:23:56 +0000
(
02:23
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 23 Jun 2017 17:50:20 +0000
(19:50 +0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstate.c
b/src/mesa/main/texstate.c
index
caad77a
..
269e291
100644
(file)
--- a/
src/mesa/main/texstate.c
+++ b/
src/mesa/main/texstate.c
@@
-349,7
+349,7
@@
_mesa_ClientActiveTexture(GLenum texture)
return;
}
- FLUSH_VERTICES(ctx, _NEW_ARRAY);
+ /* Don't flush vertices. This is a "latched" state. */
ctx->Array.ActiveTexture = texUnit;
}