Let the OS do some cleanup at the end
This commit is contained in:
parent
45d564bccf
commit
bef0498398
@ -148,13 +148,8 @@ int main() {
|
|||||||
delta = curTime - lastTime;
|
delta = curTime - lastTime;
|
||||||
lastTime = curTime;
|
lastTime = curTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
delete screenShader;
|
|
||||||
delete skyboxShader;
|
|
||||||
delete shader;
|
|
||||||
lua->Close();
|
|
||||||
delete lua;
|
|
||||||
|
|
||||||
|
lua->Close();
|
||||||
window.Close();
|
window.Close();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user