diff options
author | Brian Paul <[email protected]> | 2011-09-17 14:50:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-17 14:57:40 -0600 |
commit | ce82914f5ad4bb9148370826099925590e9798fd (patch) | |
tree | 5d5e0c19f5d09c52df3aaa88a95c13a4ff89b7dd /src/mesa/main/texparam.c | |
parent | f0f28548c29690fc9e44a2f7b0d1965d9fc564fa (diff) |
mesa: move _mesa_update_fetch_functions() calls into swrast
Do it during swrast state validation since the FetchTexel() functions
are only called from swrast now and not core Mesa.
Remove assertions in mipmap.c since they're no longer appropriate.
Diffstat (limited to 'src/mesa/main/texparam.c')
-rw-r--r-- | src/mesa/main/texparam.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c index 19a01a14deb..f7f00490aa5 100644 --- a/src/mesa/main/texparam.c +++ b/src/mesa/main/texparam.c @@ -432,7 +432,6 @@ set_tex_parameteri(struct gl_context *ctx, if (texObj->Sampler.sRGBDecode != decode) { flush(ctx); texObj->Sampler.sRGBDecode = decode; - _mesa_update_fetch_functions(texObj); } return GL_TRUE; } |