use fancy macros

This commit is contained in:
FunkyFr3sh 2018-11-12 00:39:47 +01:00
parent 6b8208ad85
commit 9811f310bc
4 changed files with 37 additions and 37 deletions

View file

@ -101,7 +101,7 @@ void Settings_Load()
(IDirect3D9 *(WINAPI *)(UINT))GetProcAddress(Direct3D9_hModule, "Direct3DCreate9");
if (D3DCreate9 && (d3d = D3DCreate9(D3D_SDK_VERSION)))
d3d->lpVtbl->Release(d3d);
IDirect3D9_Release(d3d);
}
if (d3d)