CGI/common/include/util/GLDebug.h

20 lines
291 B
C
Raw Normal View History

2018-09-06 12:35:43 +00:00
#pragma once
#include <nanogui/opengl.h>
#include <unordered_set>
namespace nse
{
namespace util
{
class GLDebug
{
public:
static void IgnoreGLError(GLuint errorId);
static void SetupDebugCallback();
private:
static std::unordered_set<GLuint> ignoredIds;
};
}
}