22 #include "glShared.h" |
22 #include "glShared.h" |
23 #include <QMap> |
23 #include <QMap> |
24 |
24 |
25 // ============================================================================= |
25 // ============================================================================= |
26 // |
26 // |
27 #ifdef USE_QT5 |
|
28 class GLCompiler : protected QOpenGLFunctions |
27 class GLCompiler : protected QOpenGLFunctions |
29 #else |
|
30 class GLCompiler |
|
31 #endif |
|
32 { |
28 { |
33 public: |
29 public: |
34 struct ObjectVBOInfo |
30 struct ObjectVBOInfo |
35 { |
31 { |
36 QVector<GLfloat> data[g_numVBOs]; |
32 QVector<GLfloat> data[g_numVBOs]; |