mirror of
https://github.com/aap/librw.git
synced 2025-04-19 16:17:03 +01:00
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…
x
Reference in New Issue
Block a user