metal clear swapchain with blue

This commit is contained in:
2025-06-29 22:40:43 +03:00
parent b8e78174ad
commit 99eafb9443
13 changed files with 343 additions and 136 deletions

View File

@@ -232,8 +232,7 @@ EInputKey ISDL_KeyName(SDL_Keycode key)
void IVideo::Init()
{
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTS))
V_printf("%s\n",SDL_GetError());
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTS);
g_window = SDL_CreateWindow("rtt", 1280, 720, SDL_WINDOW_VULKAN);
unsigned int nExtensionCount = 0;