Add missing type suffix to SDL_PROP_WINDOW_OPENVR_OVERLAY_ID
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user