[core] move Texture related enums to gfx namespace

This commit is contained in:
Konstantin Käfer
2019-03-06 17:27:00 +01:00
parent 60ceac5efc
commit 2a25270298
20 changed files with 167 additions and 117 deletions

View File

@@ -158,7 +158,7 @@ void main() {
test::checkImage("test/fixtures/offscreen_texture/render-to-fbo", image, 0, 0);
// Now, composite the Framebuffer texture we've rendered to onto the main FBO.
context.bindTexture(texture.getTexture(), 0, gl::TextureFilter::Linear);
context.bindTexture(texture.getTexture(), 0, gfx::TextureFilterType::Linear);
MBGL_CHECK_ERROR(glUseProgram(compositeShader.program));
MBGL_CHECK_ERROR(glUniform1i(u_texture, 0));
MBGL_CHECK_ERROR(glBindBuffer(GL_ARRAY_BUFFER, viewportBuffer.buffer));