summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-23 22:59:08 +0100
committerMarek Olšák <[email protected]>2017-03-29 15:44:00 +0200
commit96a1c2406db4ac79335a7f6e6d61d80d985df76e (patch)
tree998ac489e36bcc1ce6f73f692a621f9e079d7209 /src/mesa/main/attrib.c
parentd68150f15d41756fa7153cd6b597ff52ec85a933 (diff)
mesa: don't use _NEW_TEXTURE mainly in mesa/main
v2: add missing %s Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index ada2203ec0b..8e738c91c8f 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1385,7 +1385,7 @@ _mesa_PopAttrib(void)
struct texture_state *texstate
= (struct texture_state *) attr->data;
pop_texture_group(ctx, texstate);
- ctx->NewState |= _NEW_TEXTURE;
+ ctx->NewState |= _NEW_TEXTURE_OBJECT | _NEW_TEXTURE_STATE;
}
break;
case GL_VIEWPORT_BIT: