Reverting to __uuidof...

This commit is contained in:
Branimir Karadžić 2014-09-19 00:07:45 -07:00
parent f000f259d7
commit e1d98eb465

View file

@ -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) )
{