src/gl/common.h

changeset 291
42b4953dff85
parent 290
0fd926ebb03b
child 376
3cef3b016330
--- a/src/gl/common.h	Tue Jun 28 17:35:56 2022 +0300
+++ b/src/gl/common.h	Tue Jun 28 17:59:34 2022 +0300
@@ -17,13 +17,13 @@
  */
 
 #pragma once
+#include <GL/glew.h>
 #include <QWidget>
 #include <QColor>
 #include <QOpenGLBuffer>
 #include <QOpenGLShader>
 #include <QOpenGLShaderProgram>
 #include <QOpenGLVertexArrayObject>
-#include <QOpenGLFunctions>
 #include <glm/gtc/type_ptr.hpp>
 #include "src/basics.h"
 #include "src/colors.h"
@@ -47,8 +47,6 @@
 	}
 };
 
-QOpenGLFunctions& glfunc();
-
 namespace gl
 {
 	class ShaderProgram;

mercurial