1
0
Fork 0
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:
reuk 2024-09-05 11:30:55 +01:00
parent 6e9b7dad9a
commit 8754d87900
6 changed files with 13 additions and 16 deletions

View file

@ -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);