| 54 | } |
| 55 | |
| 56 | void GL46Texture1::LoadTextureLevel(uint32_t level, void const* data) |
| 57 | { |
| 58 | auto texture = GetTexture(); |
| 59 | if (texture && level < texture->GetNumLevels()) |
| 60 | { |
| 61 | auto length = texture->GetDimensionFor(level, 0); |
| 62 | |
| 63 | glTexSubImage1D(GL_TEXTURE_1D, level, 0, length, |
| 64 | mExternalFormat, mExternalType, data); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 |
nothing calls this directly
no test coverage detected