fix wrapping

This commit is contained in:
Arnold 2019-03-12 17:03:01 +08:00
parent 0d7b0fda2d
commit 70b9031714
No known key found for this signature in database
GPG Key ID: 2008D1CC4BD1AE60
1 changed files with 0 additions and 2 deletions

View File

@ -656,8 +656,6 @@ backend::SamplerAddressMode toBackendAddressMode(int mode)
switch (mode)
{
case GLTexParamConst::REPEAT:
case GLTexParamConst::TEXTURE_WRAP_S:
case GLTexParamConst::TEXTURE_WRAP_T:
return backend::SamplerAddressMode::REPEAT;
case GLTexParamConst::CLAMP:
return backend::SamplerAddressMode::CLAMP_TO_EDGE;