glgsg: fix error downloading texture with WM_repeat

This commit is contained in:
rdb 2018-10-17 17:32:19 +02:00
parent bea15cd39a
commit 90c13cbd4e

View File

@ -8925,6 +8925,9 @@ get_panda_wrap_mode(GLenum wm) {
case GL_REPEAT:
return SamplerState::WM_repeat;
case GL_MIRRORED_REPEAT:
return SamplerState::WM_mirror;
#ifndef OPENGLES
case GL_MIRROR_CLAMP_EXT:
case GL_MIRROR_CLAMP_TO_EDGE_EXT: