Fixing destruction
This commit is contained in:
@@ -93,6 +93,8 @@ int main() {
|
||||
while (windowManager->isActive() && getGlobals().running) {
|
||||
windowManager->render();
|
||||
}
|
||||
graphics->waitDeviceIdle();
|
||||
Material::destroy();
|
||||
vd->destroy();
|
||||
// export game
|
||||
|
||||
|
||||
Reference in New Issue
Block a user