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

@ -5,7 +5,7 @@
#define _PIXEventsGenerated_H_
#ifndef _PIX3_H_
#error Don't include this file directly - use pix3.h
#error "Don't include this file directly - use pix3.h"
#endif
#include "PIXEventsCommon.h"

View File

@ -11,7 +11,7 @@
#pragma once
#ifndef _PIX3_H_
#error Don't include this file directly - use pix3.h
#error "Don't include this file directly - use pix3.h"
#endif
#ifndef _PIX3_WIN_H_

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)