]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pipelinestate.h
Initial implementation of Vulkan backend
[libs/gl.git] / source / core / pipelinestate.h
index 0973bfb5ba16a4c7d04f6f54844ea677149c6c25..fda7ae1753853f43986a6d550fea58516c100120 100644 (file)
@@ -79,7 +79,6 @@ private:
        const DepthTest *depth_test = 0;
        const StencilTest *stencil_test = 0;
        const Blend *blend = 0;
-       mutable unsigned changes = 0;
 
        template<typename T>
        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; }