瀏覽代碼

Fixed build

Sam Lantinga 2 周之前
父節點
當前提交
3cf2350f21
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/video/openvr/SDL_openvrvideo.c

+ 1 - 1
src/video/openvr/SDL_openvrvideo.c

@@ -1550,7 +1550,7 @@ static SDL_VideoDevice *OPENVR_CreateDevice(void)
         SDL_SetError("Could not get interfaces for the OpenVR System (%s), Overlay (%s) and Input (%s) versions", IVRSystem_Version, IVROverlay_Version, IVRInput_Version);
     }
 
-    const char *hint = SDL_GetHint("SDL_OPENVR_INPUT_PROFILE");
+    hint = SDL_GetHint("SDL_OPENVR_INPUT_PROFILE");
     char *loadpath = 0;
     EVRInputError err;