Fixed issue #1303.

This commit is contained in:
Branimir Karadžić
2018-01-01 13:02:16 -08:00
parent 111e733306
commit c62a111e5e
3 changed files with 4 additions and 4 deletions

View File

@@ -577,11 +577,11 @@ namespace bgfx { namespace d3d12
}
#if BGFX_CONFIG_DEBUG_PIX && BX_PLATFORM_WINDOWS
static PIXEventsThreadInfo temp;
static PIXEventsThreadInfo s_pixEventsThreadInfo;
PIXEventsThreadInfo* WINAPI stubPIXGetThreadInfo()
{
return &temp;
return &s_pixEventsThreadInfo;
}
uint64_t WINAPI stubPIXEventsReplaceBlock(bool _getEarliestTime)