- Fixed the DXC macro
This commit is contained in:
Light 2021-06-21 17:03:02 +04:30
parent fcfe73923d
commit f9f0d8b649

View file

@ -1,6 +1,6 @@
#pragma once
#define DXC(x) hr = x; if(FAILED(x)) throw dxException(hr, __FILE__, __LINE__)
#define DXC(x) if(FAILED(hr = x)) throw dxException(hr, __FILE__, __LINE__)
namespace Light {