diff options
author | Marek Olšák <[email protected]> | 2017-03-23 22:42:56 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-29 15:44:00 +0200 |
commit | d68150f15d41756fa7153cd6b597ff52ec85a933 (patch) | |
tree | 39148e97f68982d67585e715aad7cdea438681a3 /src/mesa/main/mipmap.c | |
parent | 226ff6aa30701fb1b4e69e07c5d76c4d9b5e5d77 (diff) |
mesa: split _NEW_TEXTURE into _NEW_TEXTURE_OBJECT & _NEW_TEXTURE_STATE
No performance testing has been done, because it makes sense to make this
change regardless of that. Also, _NEW_TEXTURE is still used in many places,
but the obvious occurences are replaced here.
It's now possible to split _NEW_TEXTURE_OBJECT further.
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/mipmap.c')
-rw-r--r-- | src/mesa/main/mipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index 05c13fbba0c..8745dd93be5 100644 --- a/src/mesa/main/mipmap.c +++ b/src/mesa/main/mipmap.c @@ -1867,7 +1867,7 @@ prepare_mipmap_level(struct gl_context *ctx, /* in case the mipmap level is part of an FBO: */ _mesa_update_fbo_texture(ctx, texObj, face, level); - ctx->NewState |= _NEW_TEXTURE; + ctx->NewState |= _NEW_TEXTURE_OBJECT; } } |