- fix wrong clamp mode used in OpenGL

- fix sampler array size on Vulkan
This commit is contained in:
Magnus Norddahl 2019-04-20 19:19:34 +02:00
commit 09883431bf
3 changed files with 3 additions and 3 deletions

View file

@ -868,7 +868,7 @@ void GLPPRenderState::Draw()
const PPTextureInput &input = Textures[index];
int filter = (input.Filter == PPFilterMode::Nearest) ? GL_NEAREST : GL_LINEAR;
int wrap = (input.Wrap == PPWrapMode::Clamp) ? GL_CLAMP : GL_REPEAT;
int wrap = (input.Wrap == PPWrapMode::Clamp) ? GL_CLAMP_TO_EDGE : GL_REPEAT;
switch (input.Type)
{