]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Store simpler states by value in PipelineState
[libs/gl.git] / source / render / renderer.h
index fe13a882430f5407b4175d1aa481f776df86d009..c176f87aa231664f5eccfb442317421737004f47 100644 (file)
@@ -108,6 +108,7 @@ private:
        ProgramData standard_shdata;
        std::vector<BoundProgramData> shdata_stack;
        std::vector<BoundTexture> texture_stack;
+       const Texture &placeholder_texture;
        Commands commands;
 
 public:
@@ -198,6 +199,7 @@ public:
        void end_query(const QueryPool &, unsigned);
 
 private:
+       void apply_framebuffer();
        void apply_state();
 };