Skip to content

Commit

Permalink
- change the wrap mode for custom textures in custom postprocess shad…
Browse files Browse the repository at this point in the history
…ers to repeat
  • Loading branch information
dpjudas committed Apr 14, 2019
1 parent b8dfb3c commit b5e0451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp
Expand Up @@ -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++;
}
}
Expand Down

0 comments on commit b5e0451

Please sign in to comment.