mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
OpenGL: Reduce error checking in Release builds
This commit is contained in:
parent
ff1d5d6da4
commit
18aaa86761
2 changed files with 9 additions and 4 deletions
|
|
@ -215,7 +215,9 @@ static void checkGLError (const char* file, const int line)
|
|||
|
||||
static void clearGLError() noexcept
|
||||
{
|
||||
#if JUCE_DEBUG
|
||||
while (glGetError() != GL_NO_ERROR) {}
|
||||
#endif
|
||||
}
|
||||
|
||||
struct OpenGLTargetSaver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue