Module: wine
Branch: master
Commit: 2c7381e3296e424350ec009c0ae127dff38defa8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c7381e3296e424350ec009c0…
Author: Józef Kucia <jkucia(a)codeweavers.com>
Date: Mon Mar 20 12:13:10 2017 +0100
wined3d: Remove irrelevant comment.
The transform_texture() function calls context_active_texture().
Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
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 8ff1b46..7ad98b8 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);