fix a bug

This commit is contained in:
papush! 2021-11-18 14:20:50 +01:00
parent 108ffc25e4
commit 6fdca63aee
1 changed files with 1 additions and 1 deletions

View File

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