mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-05 15:54:50 -04:00
--Code changes
-Attempt to get GLSL working on Linux. Does not work.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user