diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-20 21:47:41 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-20 21:47:41 +0200 |
commit | 70df13f9d34fd855b78f74d7f1da8423241f8b01 (patch) | |
tree | 6c71b19b940fd919c5b76437180ab35f24c02f40 /src/skel/glfw | |
parent | avoid UB (diff) | |
download | re3-70df13f9d34fd855b78f74d7f1da8423241f8b01.tar re3-70df13f9d34fd855b78f74d7f1da8423241f8b01.tar.gz re3-70df13f9d34fd855b78f74d7f1da8423241f8b01.tar.bz2 re3-70df13f9d34fd855b78f74d7f1da8423241f8b01.tar.lz re3-70df13f9d34fd855b78f74d7f1da8423241f8b01.tar.xz re3-70df13f9d34fd855b78f74d7f1da8423241f8b01.tar.zst re3-70df13f9d34fd855b78f74d7f1da8423241f8b01.zip |
Diffstat (limited to '')
-rw-r--r-- | src/skel/glfw/glfw.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp index 21aace7a..376c0a11 100644 --- a/src/skel/glfw/glfw.cpp +++ b/src/skel/glfw/glfw.cpp @@ -64,10 +64,6 @@ static psGlobalType PsGlobal; #undef MAKEPOINTS #define MAKEPOINTS(l) (*((POINTS /*FAR*/ *)&(l))) -#define SAFE_RELEASE(x) { if (x) x->Release(); x = NULL; } -#define JIF(x) if (FAILED(hr=(x))) \ - {debug(TEXT("FAILED(hr=0x%x) in ") TEXT(#x) TEXT("\n"), hr); return;} - unsigned long _dwMemAvailPhys; RwUInt32 gGameState; |