瀏覽代碼

Update shaders_deferred_render.c - correct typo

pull/4705/head
MikiZX1 2 月之前
committed by GitHub
父節點
當前提交
24d0313157
沒有發現已知的金鑰在資料庫的簽署中 GPG Key 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.

Loading…
取消
儲存