- 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
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue