Skip to content

Commit

Permalink
Move shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcilroy committed Dec 20, 2023
1 parent 546dad0 commit 8319b8e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/shaders_basic_lighting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8319b8e

Please sign in to comment.