| 82 | } |
| 83 | |
| 84 | glConst 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 | |
| 94 | HWTexture::~HWTexture() |
| 95 | { |