mirror of https://github.com/aap/librw.git
subrast: fix assert error at exit
This commit is contained in:
parent
b1781f4189
commit
2e25c0ec10
|
@ -128,7 +128,6 @@ void
|
||||||
DestroyCameras(rw::World *world)
|
DestroyCameras(rw::World *world)
|
||||||
{
|
{
|
||||||
if(Camera){
|
if(Camera){
|
||||||
world->removeCamera(Camera);
|
|
||||||
sk::CameraDestroy(Camera);
|
sk::CameraDestroy(Camera);
|
||||||
Camera = nil;
|
Camera = nil;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue