fix a bug
This commit is contained in:
parent
108ffc25e4
commit
6fdca63aee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user