mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 20:41:38 +12:00
Warn on failed surface creation for vulkan
Vulkan can technically work just fine without presenting to the user, so consider these failed window procedures as "warnings" during iteration.
This commit is contained in:
parent
444d50eaf5
commit
c7a93c4f52
3 changed files with 9 additions and 4 deletions
|
@ -57,7 +57,7 @@ Emulator::Emulator()
|
|||
window = SDL_CreateWindow("Alber", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, width, height, SDL_WINDOW_VULKAN);
|
||||
|
||||
if (window == nullptr) {
|
||||
// Helpers::panic("Window creation failed: %s", SDL_GetError());
|
||||
Helpers::warn("Window creation failed: %s", SDL_GetError());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue