Fixed build

This commit is contained in:
Sam Lantinga committed 2024-07-08 11:39:08 -07:00
1 parent e22c89536a
commit 026dfc6305
1 file changed
+2 -1
+2 -1
View File
@@ -1601,7 +1601,8 @@ int D3D_CreateRenderer(SDL_Renderer *renderer, SDL_Window *window, Uint32 flags)
if (!SDL_GetWindowWMInfo(window, &windowinfo) ||
windowinfo.subsystem != SDL_SYSWM_WINDOWS) {
SDL_free(data);
return SDL_SetError("Couldn't get window handle");
SDL_SetError("Couldn't get window handle");
return NULL;
}
window_flags = SDL_GetWindowFlags(window);