wined3d: Remove irrelevant comment.
The transform_texture() function calls context_active_texture(). Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
de0a88538c
commit
2c7381e329
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue