MCPcopy Create free account
hub / github.com/comaps/comaps / DecodeTextureWrapping

Function DecodeTextureWrapping

libs/drape/hw_texture.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84glConst DecodeTextureWrapping(TextureWrapping wrapping)
85{
86 switch (wrapping)
87 {
88 case TextureWrapping::ClampToEdge: return gl_const::GLClampToEdge;
89 case TextureWrapping::Repeat: return gl_const::GLRepeat;
90 }
91 UNREACHABLE();
92}
93
94HWTexture::~HWTexture()
95{

Callers 1

CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected