Merge commit 'ebe4f47f2b2e97deed78faa6c3e90ff51cd499a4' into main

main
Sam Lantinga 2022-06-29 17:25:12 -07:00
commit ebb191f34d
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@
#define D3D_GUID(X) (X)
#else
#define SAFE_RELEASE(X) if (X) { (X)->lpVtbl->Release(X); X = NULL; }
#define D3D_CALL(THIS, FUNC, ...) (THIS)->lpVtbl->FUNC((THIS), __VA_ARGS__)
#define D3D_CALL_RET(THIS, FUNC, ...) (THIS)->lpVtbl->FUNC((THIS), __VA_ARGS__)
#define D3D_CALL(THIS, FUNC, ...) (THIS)->lpVtbl->FUNC((THIS), ##__VA_ARGS__)
#define D3D_CALL_RET(THIS, FUNC, ...) (THIS)->lpVtbl->FUNC((THIS), ##__VA_ARGS__)
#define D3D_GUID(X) &(X)
#endif