mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-03 05:05:14 -06:00
d3d12: Avoid implicit cast from int to bool in CHECK_HRESULT macro
This commit is contained in:
parent
854365e6ce
commit
f38d0e92e7
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
using namespace Microsoft::WRL;
|
using namespace Microsoft::WRL;
|
||||||
|
|
||||||
#define CHECK_HRESULT(expr) if (HRESULT hr = (expr)) if (FAILED(hr)) throw EXCEPTION("HRESULT = 0x%x", hr)
|
#define CHECK_HRESULT(expr) { HRESULT hr = (expr); if (FAILED(hr)) throw EXCEPTION("HRESULT = 0x%x", hr); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send data to dst pointer without polluting cache.
|
* Send data to dst pointer without polluting cache.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user