From f32a2da48878ce632ed6fd7cd86fbe89ef91e3a9 Mon Sep 17 00:00:00 2001 From: Matthieu BAUMANN Date: Mon, 7 Nov 2022 15:00:46 +0100 Subject: [PATCH] debug scissor safari 14.x --- src/core/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/src/app.rs b/src/core/src/app.rs index d95a2f44..40c1284f 100644 --- a/src/core/src/app.rs +++ b/src/core/src/app.rs @@ -833,7 +833,7 @@ impl App { let camera = &self.camera; // Render the scene // Clear all the screen first (only the region set by the scissor) - self.gl.clear(web_sys::WebGl2RenderingContext::COLOR_BUFFER_BIT); + //self.gl.clear(web_sys::WebGl2RenderingContext::COLOR_BUFFER_BIT); surveys.draw(camera, shaders, colormaps, self.projection); self.moc.draw(shaders, camera);