Преглед изворни кода

Update shaders_deferred_render.c - correct typo

pull/4705/head
MikiZX1 пре 2 месеци
committed by GitHub
родитељ
комит
24d0313157
No known key found for this signature in database 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); rlFramebufferAttach(gBuffer.framebuffer, gBuffer.albedoSpecTexture, RL_ATTACHMENT_COLOR_CHANNEL2, RL_ATTACHMENT_TEXTURE2D, 0);
// Finally we attach the depth buffer. // 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); rlFramebufferAttach(gBuffer.framebuffer, gBuffer.depthRenderbuffer, RL_ATTACHMENT_DEPTH, RL_ATTACHMENT_RENDERBUFFER, 0);
// Make sure our framebuffer is complete. // Make sure our framebuffer is complete.

Loading…
Откажи
Сачувај