X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FChunkRenderer.hpp;h=fe4f6a66d0062a6a81fac5ed5fcee89a291d62f5;hb=dbfcb12348b80e2582f710acb1e4ed0011889ba2;hp=3240c3de8349f14257b30fa8d08855faf200693a;hpb=ad7cf72ed47c39640d5588ba53386e090289b4d1;p=blank.git diff --git a/src/world/ChunkRenderer.hpp b/src/world/ChunkRenderer.hpp index 3240c3d..fe4f6a6 100644 --- a/src/world/ChunkRenderer.hpp +++ b/src/world/ChunkRenderer.hpp @@ -11,7 +11,7 @@ namespace blank { -class Assets; +class AssetLoader; class TextureIndex; class Viewport; class World; @@ -22,7 +22,7 @@ public: /// render_distance in chunks, excluding the base chunk which is always rendered ChunkRenderer(World &, int render_distance); - void LoadTextures(const Assets &, const TextureIndex &); + void LoadTextures(const AssetLoader &, const TextureIndex &); void FogDensity(float d) noexcept { fog_density = d; } bool InRange(const Chunk::Pos &) const noexcept;