]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Use a placeholder texture when a texture has not been loaded yet
[libs/gl.git] / source / render / renderer.h
index fe13a882430f5407b4175d1aa481f776df86d009..f08ea0b2d5bfa305c0ab1af8aeacf980e5ef79b1 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: