mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +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);
|
||||
}
|
||||
|
||||
renderstate->SetInputTexture(textureIndex, pptex.get(), PPFilterMode::Linear);
|
||||
renderstate->SetInputTexture(textureIndex, pptex.get(), PPFilterMode::Linear, PPWrapMode::Repeat);
|
||||
textureIndex++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue