mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
- change the wrap mode for custom textures in custom postprocess shaders to repeat
This commit is contained in:
parent
b8dfb3c136
commit
b5e0451805
1 changed files with 1 additions and 1 deletions
|
@ -950,7 +950,7 @@ void PPCustomShaderInstance::SetTextures(PPRenderState *renderstate)
|
||||||
pptex = std::make_unique<PPTexture>(buffer.mWidth, buffer.mHeight, PixelFormat::Rgba8, data);
|
pptex = std::make_unique<PPTexture>(buffer.mWidth, buffer.mHeight, PixelFormat::Rgba8, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
renderstate->SetInputTexture(textureIndex, pptex.get(), PPFilterMode::Linear);
|
renderstate->SetInputTexture(textureIndex, pptex.get(), PPFilterMode::Linear, PPWrapMode::Repeat);
|
||||||
textureIndex++;
|
textureIndex++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue