move shaders to separate directory

This commit is contained in:
2026-02-22 14:18:49 +01:00
parent f06afc210f
commit 7bc1eaae75
3 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,8 @@
#include <unordered_set>
#include "config.hpp"
#include "puzzle.hpp"
#include "physics.hpp"
#include "puzzle.hpp"
#ifdef BATCHING
#include <cstring>
@ -121,8 +121,8 @@ auto Renderer::AllocateGraphInstancing(const MassSpringSystem &mass_springs)
-> void {
cube_instance = GenMeshCube(VERTEX_SIZE, VERTEX_SIZE, VERTEX_SIZE);
instancing_shader =
LoadShader("instancing_vertex.glsl", "instancing_fragment.glsl");
instancing_shader = LoadShader("shader/instancing_vertex.glsl",
"shader/instancing_fragment.glsl");
instancing_shader.locs[SHADER_LOC_MATRIX_MVP] =
GetShaderLocation(instancing_shader, "mvp");
instancing_shader.locs[SHADER_LOC_VECTOR_VIEW] =