TombEngine/TR5Main/Renderer/Utils.cpp

10 lines
193 B
C++
Raw Normal View History

#include "framework.h"
#include "Utils.h"
#include <winerror.h>
void T5M::Renderer::Utils::throwIfFailed(const HRESULT& res)
{
if (FAILED(res))
throw std::exception("An error occured!");
}