From f4d2428e524e177880a34aabc7826a8a279ae39b Mon Sep 17 00:00:00 2001 From: MikiZX1 <161243635+MikiZX1@users.noreply.github.com> Date: Sat, 18 Jan 2025 15:58:08 +0100 Subject: [PATCH] Update shaders_deferred_render.c for GLES3 --- examples/shaders/shaders_deferred_render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/shaders/shaders_deferred_render.c b/examples/shaders/shaders_deferred_render.c index 148494be3..b11e23580 100644 --- a/examples/shaders/shaders_deferred_render.c +++ b/examples/shaders/shaders_deferred_render.c @@ -294,12 +294,12 @@ int main(void) rlEnableColorBlend(); EndMode3D(); -#ifdef PLATFORM_DESKTOP +//#ifdef PLATFORM_DESKTOP // As a last step, we now copy over the depth buffer from our g-buffer to the default framebuffer. rlBindFramebuffer(RL_READ_FRAMEBUFFER, gBuffer.framebuffer); rlBindFramebuffer(RL_DRAW_FRAMEBUFFER, 0); rlBlitFramebuffer(0, 0, screenWidth, screenHeight, 0, 0, screenWidth, screenHeight, 0x00000100); // GL_DEPTH_BUFFER_BIT -#endif +//#endif rlDisableFramebuffer(); // Since our shader is now done and disabled, we can draw spheres