From 27343c6a75aba9c4d04b0362fc0e50889f0e2e69 Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Tue, 25 Jul 2017 10:44:19 +0300 Subject: [core] fix backend scope handling on render, cleanup and lowmemory - Make renderer frontend responsible for creating a BackendScope on render - encapsulate backend scope handling on cleanup and low memory in renderer impl --- include/mbgl/renderer/renderer_backend.hpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/mbgl/renderer/renderer_backend.hpp b/include/mbgl/renderer/renderer_backend.hpp index a383329395..c12e162fd1 100644 --- a/include/mbgl/renderer/renderer_backend.hpp +++ b/include/mbgl/renderer/renderer_backend.hpp @@ -30,10 +30,6 @@ public: // Called prior to rendering to update the internally assumed OpenGL state. virtual void updateAssumedState() = 0; - virtual BackendScope::ScopeType getScopeType() const { - return BackendScope::ScopeType::Explicit; - } - protected: // Called with the name of an OpenGL extension that should be loaded. RendererBackend implementations // must call the API-specific version that obtains the function pointer for this function, -- cgit v1.2.1