Removed debugging directives
This commit is contained in:
parent
f6ffb9f87e
commit
99404714e8
@ -55,12 +55,10 @@ namespace nf {
|
|||||||
|
|
||||||
SwapBuffers(m_hdc);
|
SwapBuffers(m_hdc);
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
GLenum err = glGetError();
|
GLenum err = glGetError();
|
||||||
if (err != GL_NO_ERROR) {
|
if (err != GL_NO_ERROR) {
|
||||||
Error(("OpenGL error " + std::to_string(err)).c_str());
|
Error(("OpenGL error " + std::to_string(err)).c_str());
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Renderer::~Renderer() {
|
Renderer::~Renderer() {
|
||||||
|
Reference in New Issue
Block a user