]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Use a default sampler in Renderer if null was passed in
[libs/gl.git] / source / render / renderer.h
index 31ad65ea1a373bf8c6c5478d4bf878d571ffce4f..4e70204240f3de2591d987d65551cc44379f97d5 100644 (file)
@@ -117,9 +117,13 @@ private:
        std::vector<BoundProgramData> shdata_stack;
        std::vector<BoundTexture> texture_stack;
        const Texture &placeholder_texture;
+       const Sampler &default_sampler;
        PipelineState *last_pipeline = 0;
        Commands commands;
 
+       static const Tag world_obj_matrix_tag;
+       static const Tag world_obj_normal_matrix_tag;
+
 public:
        Renderer();