From 2c7381e3296e424350ec009c0ae127dff38defa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Mon, 20 Mar 2017 12:13:10 +0100 Subject: [PATCH] wined3d: Remove irrelevant comment. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The transform_texture() function calls context_active_texture(). Signed-off-by: Józef Kucia Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/wined3d/state.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 8ff1b46f4b3..7ad98b8fd27 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -3494,10 +3494,7 @@ static void sampler_texmatrix(struct wined3d_context *context, const struct wine /* The fixed function np2 texture emulation uses the texture matrix to fix up the coordinates * wined3d_texture_apply_state_changes() multiplies the set matrix with a fixup matrix. Before the - * scaling is reapplied or removed, the texture matrix has to be reapplied - * - * The mapped stage is already active because the sampler() function below, which is part of the - * misc pipeline + * scaling is reapplied or removed, the texture matrix has to be reapplied. */ if (sampler < MAX_TEXTURES) { @@ -3599,7 +3596,6 @@ static void sampler(struct wined3d_context *context, const struct wined3d_state TRACE("Sampler %u.\n", sampler_idx); - if (mapped_stage == WINED3D_UNMAPPED_STAGE) { TRACE("No sampler mapped to stage %u. Returning.\n", sampler_idx);