mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 14:45:53 +00:00
Compile fixes on linux
This commit is contained in:
@@ -35,11 +35,11 @@
|
||||
#define JSON_ID "rdocPerformanceCounterSettings"
|
||||
#define JSON_VER 1
|
||||
|
||||
// specialise this template so we can use QSet<GPUCounter>
|
||||
template <>
|
||||
inline uint qHash(const GPUCounter &t, uint seed)
|
||||
// we can't specialise the template, but creating an overload works. This lets us use
|
||||
// QSet<GPUCounter>
|
||||
inline uint qHash(const GPUCounter &t)
|
||||
{
|
||||
return qHash(uint32_t(t), seed);
|
||||
return qHash(uint32_t(t));
|
||||
}
|
||||
|
||||
namespace
|
||||
|
||||
Reference in New Issue
Block a user