summarylogtreecommitdiffstats
path: root/0008-hmderrors_public-Remove-usage-of-undefined-enum.patch
diff options
context:
space:
mode:
authorLubosz Sarnecki2022-11-22 11:09:13 +0100
committerLubosz Sarnecki2022-11-22 11:16:19 +0100
commitf529ecb00845c789459047b386e07a39fc441696 (patch)
treec532885edc136663465532002709366e43a7a95c /0008-hmderrors_public-Remove-usage-of-undefined-enum.patch
parent60ae917f1a20919e25e69f0c7e0a73a67bd4e92e (diff)
downloadaur-f529ecb00845c789459047b386e07a39fc441696.tar.gz
Update to 1.23.7.
* Update github patch hashes. * Fix build issues caused removed enum usage. * Update version.
Diffstat (limited to '0008-hmderrors_public-Remove-usage-of-undefined-enum.patch')
-rw-r--r--0008-hmderrors_public-Remove-usage-of-undefined-enum.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/0008-hmderrors_public-Remove-usage-of-undefined-enum.patch b/0008-hmderrors_public-Remove-usage-of-undefined-enum.patch
new file mode 100644
index 000000000000..ce023a8d0d78
--- /dev/null
+++ b/0008-hmderrors_public-Remove-usage-of-undefined-enum.patch
@@ -0,0 +1,28 @@
+From 3d3d8eaaa1b6887e86a379d1f847c0ac2183928d Mon Sep 17 00:00:00 2001
+From: Lubosz Sarnecki <lubosz@gmail.com>
+Date: Tue, 22 Nov 2022 11:04:04 +0100
+Subject: [PATCH 8/8] hmderrors_public: Remove usage of undefined enum.
+
+VRInitError_Init_CreateDriverDirectDeviceFailed was removed in
+OpenVR SDK 1.23.7.
+
+Fixed the build.
+---
+ src/vrcommon/hmderrors_public.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/vrcommon/hmderrors_public.cpp b/src/vrcommon/hmderrors_public.cpp
+index 6f44d3a..786f249 100644
+--- a/src/vrcommon/hmderrors_public.cpp
++++ b/src/vrcommon/hmderrors_public.cpp
+@@ -180,7 +180,6 @@ const char *GetIDForVRInitError( vr::EVRInitError eError )
+ RETURN_ENUM_AS_STRING( VRInitError_Init_PrismNeedsNewDrivers );
+ RETURN_ENUM_AS_STRING( VRInitError_Init_PrismStartupTimedOut );
+ RETURN_ENUM_AS_STRING( VRInitError_Init_CouldNotStartPrism );
+- RETURN_ENUM_AS_STRING( VRInitError_Init_CreateDriverDirectDeviceFailed );
+ RETURN_ENUM_AS_STRING( VRInitError_Init_PrismExitedUnexpectedly );
+
+ RETURN_ENUM_AS_STRING( VRInitError_Driver_Failed );
+--
+2.38.1
+