mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Reverting to __uuidof...
This commit is contained in:
parent
f000f259d7
commit
e1d98eb465
1 changed files with 1 additions and 2 deletions
|
@ -340,7 +340,6 @@ namespace bgfx
|
|||
};
|
||||
|
||||
static const GUID WKPDID_D3DDebugObjectName = { 0x429b8c22, 0x9188, 0x4b0c, { 0x87, 0x42, 0xac, 0xb0, 0xbf, 0x85, 0xc2, 0x00 } };
|
||||
static const GUID IID_ID3D11InfoQueue = { 0x6543dbb6, 0x1b48, 0x42f5, { 0xab, 0x82, 0xe9, 0x7e, 0xc7, 0x43, 0x26, 0xf6 } }; // MinGW doesn't have __uuid(ID3D11InfoQueue) defined.
|
||||
|
||||
template <typename Ty>
|
||||
static BX_NO_INLINE void setDebugObjectName(Ty* _interface, const char* _format, ...)
|
||||
|
@ -568,7 +567,7 @@ namespace bgfx
|
|||
if (BX_ENABLED(BGFX_CONFIG_DEBUG) )
|
||||
{
|
||||
ID3D11InfoQueue* infoQueue;
|
||||
hr = m_device->QueryInterface(IID_ID3D11InfoQueue, (void**)&infoQueue);
|
||||
hr = m_device->QueryInterface(__uuidof(ID3D11InfoQueue), (void**)&infoQueue);
|
||||
|
||||
if (SUCCEEDED(hr) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue