Skip to content

Commit

Permalink
Update shaders_deferred_render.c - correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiZX1 authored Jan 18, 2025
1 parent b638a1e commit 24d0313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/shaders/shaders_deferred_render.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ int main(void)
rlFramebufferAttach(gBuffer.framebuffer, gBuffer.albedoSpecTexture, RL_ATTACHMENT_COLOR_CHANNEL2, RL_ATTACHMENT_TEXTURE2D, 0);

// Finally we attach the depth buffer.
gBuffer.depthRenderbuffer = custom_rlLoadRenderbufferDepth(screenWidth, screenHeight);
gBuffer.depthRenderbuffer = custom_LoadRenderbufferDepth(screenWidth, screenHeight);
rlFramebufferAttach(gBuffer.framebuffer, gBuffer.depthRenderbuffer, RL_ATTACHMENT_DEPTH, RL_ATTACHMENT_RENDERBUFFER, 0);

// Make sure our framebuffer is complete.
Expand Down

0 comments on commit 24d0313

Please sign in to comment.