summaryrefslogtreecommitdiffstats
path: root/src/libs/dxvk-native-1.9.2a/src/util/log/log_debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/dxvk-native-1.9.2a/src/util/log/log_debug.cpp')
-rw-r--r--src/libs/dxvk-native-1.9.2a/src/util/log/log_debug.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libs/dxvk-native-1.9.2a/src/util/log/log_debug.cpp b/src/libs/dxvk-native-1.9.2a/src/util/log/log_debug.cpp
new file mode 100644
index 00000000..c67742ab
--- /dev/null
+++ b/src/libs/dxvk-native-1.9.2a/src/util/log/log_debug.cpp
@@ -0,0 +1,11 @@
+#include "log_debug.h"
+
+namespace dxvk::debug {
+
+ std::string methodName(const std::string& prettyName) {
+ size_t end = prettyName.find("(");
+ size_t begin = prettyName.substr(0, end).rfind(" ") + 1;
+ return prettyName.substr(begin,end - begin);
+ }
+
+}