summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglshaderprogram.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-11-01 21:51:09 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-11-01 21:51:09 (GMT)
commit0e02c54e7e56ee091aeeb6342faa2df163fbbd74 (patch)
treec47b6f80546b94e84308e6a5cf0332c2d900a0be /src/opengl/qglshaderprogram.h
parentfad40eb6261ca72cda438c06dccebfc49e8d0a87 (diff)
downloadQt-0e02c54e7e56ee091aeeb6342faa2df163fbbd74.zip
Qt-0e02c54e7e56ee091aeeb6342faa2df163fbbd74.tar.gz
Qt-0e02c54e7e56ee091aeeb6342faa2df163fbbd74.tar.bz2
Remove partial shader support from QGLShader/QGLShaderProgram
Reviewed-by: trustme
Diffstat (limited to 'src/opengl/qglshaderprogram.h')
-rw-r--r--src/opengl/qglshaderprogram.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/opengl/qglshaderprogram.h b/src/opengl/qglshaderprogram.h
index 708cf09..b7bd2d7 100644
--- a/src/opengl/qglshaderprogram.h
+++ b/src/opengl/qglshaderprogram.h
@@ -66,12 +66,7 @@ public:
enum ShaderTypeBits
{
VertexShader = 0x0001,
- FragmentShader = 0x0002,
-
- PartialShader = 0x1000,
-
- PartialVertexShader = PartialShader | VertexShader,
- PartialFragmentShader = PartialShader | FragmentShader
+ FragmentShader = 0x0002
};
Q_DECLARE_FLAGS(ShaderType, ShaderTypeBits)
@@ -100,8 +95,6 @@ private:
Q_DISABLE_COPY(QGLShader)
Q_DECLARE_PRIVATE(QGLShader)
-
- bool compile(const QList<QGLShader *>& shaders, QGLShader::ShaderType type);
};
Q_DECLARE_OPERATORS_FOR_FLAGS(QGLShader::ShaderType)