mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
glgsg: fix error downloading texture with WM_repeat
This commit is contained in:
parent
bea15cd39a
commit
90c13cbd4e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user