]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Add support for integer vertex attributes
[libs/gl.git] / source / render / renderer.h
index 23f7c5cc9a3f132d6154b9e9241aedcf7d186322..ff2c2a2fb49207de2dc7c236563d5365d4eb3d79 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <set>
 #include <vector>
+#include "commands.h"
 #include "framebuffer.h"
 #include "matrix.h"
 #include "pipelinestate.h"
@@ -24,7 +25,6 @@ class Renderable;
 class Sampler;
 class Texture;
 class VertexSetup;
-class WindingTest;
 
 /**
 A class for supervising the rendering process.  While many Renderables (in
@@ -92,7 +92,6 @@ private:
                const Rect *viewport;
                const Rect *scissor;
                unsigned texture_count;
-               unsigned lowest_effect_texunit;
                const Clipping *clipping;
                const Program *shprog;
                unsigned shdata_count;
@@ -121,6 +120,7 @@ private:
        std::vector<BoundProgramData> shdata_stack;
        std::set<const Renderable *> excluded;
        PipelineState pipeline_state;
+       Commands commands;
 
 public:
        Renderer();