X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fpipelinestate.h;h=f3c30030f67662422e995ace745ae75d8d4cbc8a;hp=5c3bb9ceb997e51876b4e6a650aae8c350955181;hb=ebef7085e2672866189ccdb3a89e977e678a89b9;hpb=866c80e19e66d6dd8d49ec48d9be54a3a7fe07a2 diff --git a/source/core/pipelinestate.h b/source/core/pipelinestate.h index 5c3bb9ce..f3c30030 100644 --- a/source/core/pipelinestate.h +++ b/source/core/pipelinestate.h @@ -76,6 +76,7 @@ private: static const PipelineState *last_applied; static std::vector bound_tex_targets; + static unsigned restart_index; public: PipelineState(); @@ -103,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; }