1

Move shaders

This commit is contained in:
Mark McIlroy 2023-12-20 10:15:21 +00:00
parent 546dad0725
commit 8319b8e191
3 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ pub fn main() {
let cube = LoadModelFromMesh(GenMeshCube(2.0, 4.0, 2.0)); let cube = LoadModelFromMesh(GenMeshCube(2.0, 4.0, 2.0));
// Load basic lighting shader // 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 // Get some required shader locations
let view_loc = shader.locs.offset(enums::ShaderLocationIndex::VectorView as isize) as *mut c_int; let view_loc = shader.locs.offset(enums::ShaderLocationIndex::VectorView as isize) as *mut c_int;