- fix wrong clamp mode used in OpenGL
- fix sampler array size on Vulkan
This commit is contained in:
parent
a3587009e7
commit
09883431bf
3 changed files with 3 additions and 3 deletions
|
|
@ -287,7 +287,7 @@ void VkPostprocess::RenderBuffersReset()
|
|||
|
||||
VulkanSampler *VkPostprocess::GetSampler(PPFilterMode filter, PPWrapMode wrap)
|
||||
{
|
||||
int index = (((int)filter) << 2) | (int)wrap;
|
||||
int index = (((int)filter) << 1) | (int)wrap;
|
||||
auto &sampler = mSamplers[index];
|
||||
if (sampler)
|
||||
return sampler.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue