summaryrefslogtreecommitdiffstats
path: root/demos/boxes/scene.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-05-01 00:14:58 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-05-01 00:14:58 (GMT)
commit815eb1c4793ffc9d11ec160996350610deb4db7d (patch)
treefe24c022bc2411023f873da882e4fc1b599471c2 /demos/boxes/scene.h
parent446085a8b3f22d7e2735b62b4511907e7aaba82a (diff)
parent96e13b0411ed3f4ef8753edafc41503fc9aceb0f (diff)
downloadQt-815eb1c4793ffc9d11ec160996350610deb4db7d.zip
Qt-815eb1c4793ffc9d11ec160996350610deb4db7d.tar.gz
Qt-815eb1c4793ffc9d11ec160996350610deb4db7d.tar.bz2
Merge branch 'shaderprograms' of git@scm.dev.nokia.troll.no:qt/rweathers-shaderprograms into shader-api
Conflicts: src/gui/math3d/math3d.pri src/gui/math3d/qgenericmatrix.cpp src/gui/math3d/qgenericmatrix.h src/gui/math3d/qmatrix4x4.cpp src/gui/math3d/qmatrix4x4.h src/gui/math3d/qquaternion.cpp src/gui/math3d/qquaternion.h src/gui/math3d/qvector2d.cpp src/gui/math3d/qvector2d.h src/gui/math3d/qvector3d.cpp src/gui/math3d/qvector3d.h src/gui/math3d/qvector4d.cpp src/gui/math3d/qvector4d.h src/opengl/opengl.pro tests/auto/math3d/math3d.pro tests/auto/math3d/qmatrixnxn/tst_qmatrixnxn.cpp tests/auto/math3d/qquaternion/tst_qquaternion.cpp tests/auto/math3d/qvectornd/tst_qvectornd.cpp tests/auto/math3d/shared/math3dincludes.h
Diffstat (limited to 'demos/boxes/scene.h')
-rw-r--r--demos/boxes/scene.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/demos/boxes/scene.h b/demos/boxes/scene.h
index 2db9317..c056739 100644
--- a/demos/boxes/scene.h
+++ b/demos/boxes/scene.h
@@ -53,7 +53,6 @@
#include "vector.h"
#include "trackball.h"
#include "glbuffers.h"
-#include "glshaders.h"
#include "qtbox.h"
#define PI 3.14159265358979
@@ -231,11 +230,11 @@ private:
GLTexture3D *m_noise;
GLRenderTargetCube *m_mainCubemap;
QVector<GLRenderTargetCube *> m_cubemaps;
- QVector<GLProgram *> m_programs;
- GLVertexShader *m_vertexShader;
- QVector<GLFragmentShader *> m_fragmentShaders;
- GLFragmentShader *m_environmentShader;
- GLProgram *m_environmentProgram;
+ QVector<QGLShaderProgram *> m_programs;
+ QGLShader *m_vertexShader;
+ QVector<QGLShader *> m_fragmentShaders;
+ QGLShader *m_environmentShader;
+ QGLShaderProgram *m_environmentProgram;
};