Add missing type suffix to SDL_PROP_WINDOW_OPENVR_OVERLAY_ID

This commit is contained in:
Maia
2025-04-20 17:01:06 +02:00
committed by Sam Lantinga
parent a696b108ac
commit e70a49892b
2 changed files with 3 additions and 3 deletions

View File

@@ -593,7 +593,7 @@ static bool OPENVR_InitializeOverlay(SDL_VideoDevice *_this,SDL_Window *window)
return SDL_SetError("Could not create cursor overlay (%d)", result );
}
SDL_PropertiesID props = SDL_GetWindowProperties(window);
SDL_SetNumberProperty(props, SDL_PROP_WINDOW_OPENVR_OVERLAY_ID, videodata->overlayID);
SDL_SetNumberProperty(props, SDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER, videodata->overlayID);
SDL_free(cursorname);
videodata->bHasShownOverlay = false;
}