From 6fdca63aee5ee021b54ebf61919b7c6d930efaf0 Mon Sep 17 00:00:00 2001 From: papush! Date: Thu, 18 Nov 2021 14:20:50 +0100 Subject: [PATCH] fix a bug --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index fff197d..afd7067 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,7 +9,7 @@ int main(int argc, char *argv[]) { using namespace std; QSurfaceFormat format; format.setRenderableType(QSurfaceFormat::OpenGL); -#ifndef QT_DEBUG +#ifdef QT_DEBUG qDebug("Debug build"); format.setOption(QSurfaceFormat::DebugContext); #endif