From e67abfbe67d7c08e90fdbd8727c4e9ed17dfa1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 27 Feb 2017 18:33:16 +0100 Subject: [core] Refactor OpenGL extension loading mechanism Previously, we initialized global variables that held pointers to the extension functions. While this seemed to work, the spec doesn't guarantee that the function pointers are identical for different OpenGL contexts. Therefore, we are now making them a member variable of the Context object. --- src/mbgl/gl/vertex_array.hpp | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/mbgl/gl/vertex_array.hpp (limited to 'src/mbgl/gl/vertex_array.hpp') diff --git a/src/mbgl/gl/vertex_array.hpp b/src/mbgl/gl/vertex_array.hpp deleted file mode 100644 index 6b6e11324f..0000000000 --- a/src/mbgl/gl/vertex_array.hpp +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once - -#include -#include - -namespace mbgl { -namespace gl { - -extern ExtensionFunction BindVertexArray; -extern ExtensionFunction DeleteVertexArrays; -extern ExtensionFunction GenVertexArrays; - -} // namespace gl -} // namespace mbgl -- cgit v1.2.1