began transition to gles

This commit is contained in:
itsmattkc
2019-03-17 15:53:54 +11:00
parent eef306ff1e
commit c8496ac2a8
10 changed files with 134 additions and 15 deletions
+5 -1
View File
@@ -41,7 +41,7 @@ class Viewer;
class QOpenGLFramebufferObject;
struct GLTextureCoords;
class ViewerWidget : public QOpenGLWidget, QOpenGLFunctions
class ViewerWidget : public QOpenGLWidget
{
Q_OBJECT
public:
@@ -91,6 +91,10 @@ private:
ViewerWindow* window;
double x_scroll;
double y_scroll;
QMatrix4x4 projection_;
QOpenGLShaderProgram* pipeline_;
private slots:
void context_destroy();
void retry();