X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpipelinestate.cpp;h=933109e6e09e492ae65b38f3780e395db01063d6;hb=8e58fc4da8443cb67fe4cd70d6f68de2be73011d;hp=15de0b4dce3e91f39bc1aea641a0a6d32da7979a;hpb=160e9eea29bd10034733d59507fa1bcca36be401;p=libs%2Fgl.git diff --git a/source/core/pipelinestate.cpp b/source/core/pipelinestate.cpp index 15de0b4d..933109e6 100644 --- a/source/core/pipelinestate.cpp +++ b/source/core/pipelinestate.cpp @@ -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 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))