]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pipelinestate.cpp
Remove support for array size specialization from the engine as well
[libs/gl.git] / source / core / pipelinestate.cpp
index 15de0b4dce3e91f39bc1aea641a0a6d32da7979a..933109e6e09e492ae65b38f3780e395db01063d6 100644 (file)
@@ -7,21 +7,6 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
-PipelineState::PipelineState():
-       framebuffer(0),
-       viewport(0),
-       scissor(0),
-       shprog(0),
-       vertex_setup(0),
-       front_face(COUNTERCLOCKWISE),
-       face_cull(NO_CULL),
-       enabled_clip_planes(0),
-       depth_test(0),
-       stencil_test(0),
-       blend(0),
-       changes(0)
-{ }
-
 template<typename T>
 void PipelineState::set(T &target, T value, unsigned flag)
 {
@@ -67,11 +52,6 @@ void PipelineState::set_face_cull(CullMode c)
        set(face_cull, c, FACE_CULL);
 }
 
-void PipelineState::set_enabled_clip_planes(unsigned p)
-{
-       set(enabled_clip_planes, p, CLIP_PLANES);
-}
-
 void PipelineState::set_texture(unsigned binding, const Texture *tex, const Sampler *samp)
 {
        if((tex!=0)!=(samp!=0))