From 8319b8e1918c544549ef90e2df270e84c606c021 Mon Sep 17 00:00:00 2001 From: Mark McIlroy Date: Wed, 20 Dec 2023 10:15:21 +0000 Subject: [PATCH] Move shaders --- examples/{ => shaders}/lighting.fs | 0 examples/{ => shaders}/lighting.vs | 0 examples/shaders_basic_lighting.rs | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename examples/{ => shaders}/lighting.fs (100%) rename examples/{ => shaders}/lighting.vs (100%) diff --git a/examples/lighting.fs b/examples/shaders/lighting.fs similarity index 100% rename from examples/lighting.fs rename to examples/shaders/lighting.fs diff --git a/examples/lighting.vs b/examples/shaders/lighting.vs similarity index 100% rename from examples/lighting.vs rename to examples/shaders/lighting.vs diff --git a/examples/shaders_basic_lighting.rs b/examples/shaders_basic_lighting.rs index 0e26aa7..5665481 100644 --- a/examples/shaders_basic_lighting.rs +++ b/examples/shaders_basic_lighting.rs @@ -95,7 +95,7 @@ pub fn main() { let cube = LoadModelFromMesh(GenMeshCube(2.0, 4.0, 2.0)); // Load basic lighting shader - let shader = LoadShader(rl_str!("examples/lighting.vs"), rl_str!("examples/lighting.fs")); + let shader = LoadShader(rl_str!("examples/shaders/lighting.vs"), rl_str!("examples/shaders/lighting.fs")); // Get some required shader locations let view_loc = shader.locs.offset(enums::ShaderLocationIndex::VectorView as isize) as *mut c_int;