mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Fix build warnings when JUCE_DISABLE_ASSERTIONS is set
This commit is contained in:
parent
6e9b7dad9a
commit
8754d87900
6 changed files with 13 additions and 16 deletions
|
|
@ -637,7 +637,7 @@ public:
|
|||
|
||||
gl::loadFunctions();
|
||||
|
||||
#if JUCE_DEBUG
|
||||
#if JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS
|
||||
if (getOpenGLVersion() >= Version { 4, 3 } && glDebugMessageCallback != nullptr)
|
||||
{
|
||||
glEnable (GL_DEBUG_OUTPUT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue