| 72 | } |
| 73 | |
| 74 | glConst DecodeTextureFilter(TextureFilter filter) |
| 75 | { |
| 76 | switch (filter) |
| 77 | { |
| 78 | case TextureFilter::Linear: return gl_const::GLLinear; |
| 79 | case TextureFilter::Nearest: return gl_const::GLNearest; |
| 80 | } |
| 81 | UNREACHABLE(); |
| 82 | } |
| 83 | |
| 84 | glConst DecodeTextureWrapping(TextureWrapping wrapping) |
| 85 | { |