blob: c67742abcca19bd3c0c13c0c3ff8934638165205 (
plain)
1
2
3
4
5
6
7
8
9
10
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);
}
}
|