mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-02 01:30:34 -06:00
Prevent occasional crash in RenderableShadowCylinder when adding an asset at runtime
This commit is contained in:
@@ -250,7 +250,7 @@ void RenderableShadowCylinder::deinitializeGL() {
|
||||
}
|
||||
|
||||
bool RenderableShadowCylinder::isReady() const {
|
||||
return true;
|
||||
return _shader;
|
||||
}
|
||||
|
||||
void RenderableShadowCylinder::render(const RenderData& data, RendererTasks&) {
|
||||
|
||||
Reference in New Issue
Block a user