diff --git a/src/core.c b/src/core.c index 5f12fb72..7d64ae27 100644 --- a/src/core.c +++ b/src/core.c @@ -1170,7 +1170,9 @@ void BeginTextureMode(RenderTexture2D target) rlEnableRenderTexture(target.id); // Enable render target - rlClearScreenBuffers(); // Clear render texture buffers + // Some projects need the buffer to not be empited when drawing to + // the render texture. + //rlClearScreenBuffers(); // Clear render texture buffers // Set viewport to framebuffer size rlViewport(0, 0, target.texture.width, target.texture.height);