[PATCH 8/8] wined3d: Remove irrelevant comment.
Józef Kucia
jkucia at codeweavers.com
Mon Mar 20 06:13:10 CDT 2017
The transform_texture() function calls context_active_texture().
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
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);
--
2.10.2
More information about the wine-patches
mailing list