src/gl/debug.h

Sun, 26 Jun 2022 19:44:45 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 26 Jun 2022 19:44:45 +0300
changeset 259
c27612f0eac0
parent 237
10a6298f636f
child 264
76a025db4948
permissions
-rw-r--r--

- Made it build under Qt6
- Fix strangeness involving library path settings

237
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
diff changeset
1 #pragma once
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
diff changeset
2 #include <QOpenGLDebugMessage>
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
diff changeset
3 #include "basics.h"
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
diff changeset
4
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
diff changeset
5 Message debugMessageToString(const QOpenGLDebugMessage& glmessage);

mercurial