flip the viewport in vulkan so that top is on the top

This commit is contained in:
Greg Wells
2025-05-30 13:41:11 -04:00
parent 7ebb109c44
commit eb244447cc
7 changed files with 14 additions and 9 deletions

View File

@@ -65,10 +65,10 @@ gnReturnCode gnCreateOutputDeviceFn(gnOutputDevice* outputDevice, gnInstance* in
}
void gnWaitForDeviceFn(const gnOutputDevice* device) {
// vkDeviceWaitIdle(device->outputDevice->device);
vkDeviceWaitIdle(device->outputDevice->device);
}
void gnDestroyOutputDeviceFn(gnOutputDevice* device) {
// vkDestroyCommandPool(device.outputDevice->device, device.outputDevice->commandPool, nullptr);
vkDestroyDevice(device->outputDevice->device, NULL);
free(device->outputDevice);
}