Commit 2c7381e3 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Remove irrelevant comment.

The transform_texture() function calls context_active_texture(). Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent de0a8853
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment