#include <vector>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>
#include "GLStubs.h"
#include "Errors.hpp"
#include "PlatformDefinitions.h"
#include "RefCntAutoPtr.hpp"
#include "DebugUtilities.hpp"
#include "GLObjectWrapper.hpp"
#include "ValidatedCast.hpp"
#include "RenderDevice.h"
#include "BaseInterfacesGL.h"
Go to the source code of this file.
◆ CHECK_GL_ERROR
| #define CHECK_GL_ERROR |
( |
|
... | ) |
|
Value: do \
{ \
auto err = glGetError(); \
if (err != GL_NO_ERROR) \
{ \
LogError<false>(false, __FUNCTION__, __FILE__, __LINE__, __VA_ARGS__, "\nGL Error Code: ", err); \
UNEXPECTED("Error"); \
} \
} while (false)
◆ CHECK_GL_ERROR_AND_THROW
| #define CHECK_GL_ERROR_AND_THROW |
( |
|
... | ) |
|
Value: do \
{ \
auto err = glGetError(); \
if (err != GL_NO_ERROR) \
LogError<true>(false, __FUNCTION__, __FILE__, __LINE__, __VA_ARGS__, "\nGL Error Code: ", err); \
} while (false)
◆ DEV_CHECK_GL_ERROR
| #define DEV_CHECK_GL_ERROR |
( |
|
... | ) |
|