[core] send signal to RenderCustomLayer when gl context has been lost
- Prevents cleaning up of GL resources that no longer exist, resulting in a crash
This commit is contained in:
committed by
Ivo van Dongen
parent
67285f3a95
commit
bda6ed26c6
@@ -28,6 +28,8 @@ public:
|
||||
const optional<std::string> programCacheDir = {});
|
||||
~Renderer();
|
||||
|
||||
void markContextLost();
|
||||
|
||||
void setObserver(RendererObserver*);
|
||||
|
||||
void render(const UpdateParameters&);
|
||||
|
||||
Reference in New Issue
Block a user