X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpipelinestate.h;h=f3c30030f67662422e995ace745ae75d8d4cbc8a;hb=a0538cdd026622f7f0f3e2ac1f9c2bd54c4a6014;hp=9f6795f16ec176d0cb4204354dcd7b4b7a4ad53e;hpb=ce3658993ce2f6b7527a04a36a5e1af349c6f2e9;p=libs%2Fgl.git diff --git a/source/core/pipelinestate.h b/source/core/pipelinestate.h index 9f6795f1..f3c30030 100644 --- a/source/core/pipelinestate.h +++ b/source/core/pipelinestate.h @@ -1,5 +1,5 @@ -#ifndef PIPELINESTATE_H_ -#define PIPELINESTATE_H_ +#ifndef MSP_GL_PIPELINESTATE_H_ +#define MSP_GL_PIPELINESTATE_H_ #include #include @@ -20,7 +20,6 @@ class StencilTest; class Texture; class UniformBlock; class VertexSetup; -class WindingTest; class PipelineState: public NonCopyable { @@ -77,6 +76,7 @@ private: static const PipelineState *last_applied; static std::vector bound_tex_targets; + static unsigned restart_index; public: PipelineState(); @@ -104,6 +104,7 @@ public: void set_stencil_test(const StencilTest *); void set_blend(const Blend *); + const Framebuffer *get_framebuffer() const { return framebuffer; } 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; }