浏览代码

Update shaders_deferred_render.c - correct typo

pull/4705/head
MikiZX1 2 个月前
committed by GitHub
父节点
当前提交
24d0313157
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      examples/shaders/shaders_deferred_render.c

+ 1
- 1
examples/shaders/shaders_deferred_render.c 查看文件

@ -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.

正在加载...
取消
保存