From d1a84d9b51a7145f9f7665805cf71050aac7bc63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 29 Sep 2016 11:45:28 +0200 Subject: [core] rename VAO => VertexArray, FBO => Framebuffer --- src/mbgl/gl/value.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mbgl/gl/value.hpp') diff --git a/src/mbgl/gl/value.hpp b/src/mbgl/gl/value.hpp index 6436228ed1..bfa4dce775 100644 --- a/src/mbgl/gl/value.hpp +++ b/src/mbgl/gl/value.hpp @@ -278,9 +278,9 @@ struct BindFramebuffer { MBGL_CHECK_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, value)); } static Type Get() { - Type activeFBO; - MBGL_CHECK_ERROR(glGetIntegerv(GL_FRAMEBUFFER_BINDING, &activeFBO)); - return activeFBO; + Type activeFramebuffer; + MBGL_CHECK_ERROR(glGetIntegerv(GL_FRAMEBUFFER_BINDING, &activeFramebuffer)); + return activeFramebuffer; } }; @@ -366,7 +366,7 @@ struct BindBuffer { template const typename BindBuffer::Type BindBuffer::Default; -struct BindVAO { +struct BindVertexArray { using Type = GLuint; static const constexpr Type Default = 0; static void Set(const Type& value) { -- cgit v1.2.1