mirror of
https://github.com/PavelDoGreat/WebGL-Fluid-Simulation.git
synced 2025-10-04 01:41:53 +02:00
remove redundancy
This commit is contained in:
@@ -11,7 +11,6 @@ if (!isWebGL2) {
|
||||
gl = canvas.getContext('webgl', params) || canvas.getContext('experimental-webgl', params);
|
||||
}
|
||||
gl.clearColor(0.0, 0.0, 0.0, 1.0);
|
||||
gl.enable(gl.BLEND);
|
||||
|
||||
const halfFloat = gl.getExtension('OES_texture_half_float');
|
||||
let support_linear_float = gl.getExtension('OES_texture_half_float_linear');
|
||||
|
Reference in New Issue
Block a user