X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpipelinestate.h;h=fda7ae1753853f43986a6d550fea58516c100120;hb=99ca354f18119f82f1adeca100cd665a8f640317;hp=0973bfb5ba16a4c7d04f6f54844ea677149c6c25;hpb=f1e31ee641f0cafdfe2015bff206b9ee2ad85abf;p=libs%2Fgl.git diff --git a/source/core/pipelinestate.h b/source/core/pipelinestate.h index 0973bfb5..fda7ae17 100644 --- a/source/core/pipelinestate.h +++ b/source/core/pipelinestate.h @@ -79,7 +79,6 @@ private: const DepthTest *depth_test = 0; const StencilTest *stencil_test = 0; const Blend *blend = 0; - mutable unsigned changes = 0; template void set(T &, T, unsigned); @@ -99,6 +98,7 @@ public: void set_blend(const Blend *); const Framebuffer *get_framebuffer() const { return framebuffer; } + const Rect *get_viewport() const { return viewport; } const Program *get_shader_program() const { return shprog; } const VertexSetup *get_vertex_setup() const { return vertex_setup; } FaceWinding get_front_face() const { return front_face; }