fix billboard crash

This commit is contained in:
Dante Ruiz 2018-06-28 16:25:34 -07:00
parent 3f6be6d259
commit 847cad46ca

View file

@ -66,7 +66,7 @@ OffscreenSurface::OffscreenSurface()
} }
OffscreenSurface::~OffscreenSurface() { OffscreenSurface::~OffscreenSurface() {
delete _sharedObject; _sharedObject->deleteLater();
} }
bool OffscreenSurface::fetchTexture(TextureAndFence& textureAndFence) { bool OffscreenSurface::fetchTexture(TextureAndFence& textureAndFence) {