TombEngine/TR5Main/Renderer/Utils.h
2020-06-21 11:51:46 +02:00

11 lines
No EOL
290 B
C++

#pragma once
#include <winerror.h>
namespace T5M {
namespace Renderer {
namespace Utils {
//throws a std::exception when the result contains a FAILED result
//In most cases we cannot run the game if some Direct3D operation failed
void throwIfFailed(const HRESULT& res);
}
}
}