[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
@@ -20,6 +20,10 @@ Renderer::~Renderer() {
|
||||
impl.reset();
|
||||
}
|
||||
|
||||
void Renderer::markContextLost() {
|
||||
impl->markContextLost();
|
||||
}
|
||||
|
||||
void Renderer::setObserver(RendererObserver* observer) {
|
||||
impl->setObserver(observer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user