Files
directx-plane-game/Graphics2/HelperFunctions.h
2022-02-23 12:07:57 +00:00

14 lines
151 B
C++

#pragma once
// Various helper functions
using namespace std;
inline void ThrowIfFailed(HRESULT hr)
{
if (FAILED(hr))
{
throw exception();
}
}