[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
This commit is contained in:
committed by
Ivo van Dongen
parent
906fc0421a
commit
27343c6a75
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user