debug scissor safari 14.x

This commit is contained in:
Matthieu BAUMANN
2022-11-07 15:00:46 +01:00
parent 2dbe0ae9f5
commit f32a2da488

View File

@@ -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);