mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 09:47:58 +03:00
11 lines
No EOL
290 B
C++
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);
|
|
}
|
|
}
|
|
} |