mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-01 07:13:36 +00: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;
|
||||
|
||||
#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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user