renderer template shader

This commit is contained in:
2025-07-17 21:57:06 +02:00
parent 74848fbd78
commit 9a3356eb16
5 changed files with 24 additions and 26 deletions

View File

@@ -8,7 +8,7 @@
namespace td {
namespace render {
class WorldRenderer : public Renderer {
class WorldRenderer : public Renderer<shader::WorldShader> {
private:
const game::World& m_World;
std::unique_ptr<GL::VertexArray> m_WorldVao;