--Code changes

-Attempt to get GLSL working on Linux. Does not work.
This commit is contained in:
Person
2018-04-04 18:54:32 -07:00
parent ae7b1f3ba8
commit d6131b67e5
4 changed files with 64 additions and 23 deletions

View File

@ -28,7 +28,8 @@ template<typename T> class FractoriumEmberController;
/// </summary>
class GLWidget : public QOpenGLWidget, protected
#ifdef USE_GLSL
QOpenGLFunctions_3_2_Core
//QOpenGLFunctions_4_5_Core
QOpenGLFunctions_3_3_Core
#else
QOpenGLFunctions_2_0
#endif
@ -99,7 +100,7 @@ private:
QMatrix4x4 m_ModelViewProjectionMatrix;
QMatrix4x4 m_TextureProjMatrix;
vector<float> m_Verts;
std::array<GLfloat, 10> m_TexVerts =
std::array<GLfloat, 10> m_TexVerts = std::array<GLfloat, 10>
{
0, 0,
0, 1,