We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d5a69c commit e251715Copy full SHA for e251715
src/core/renderers/webgl/WebGlRenderer.ts
@@ -725,8 +725,7 @@ export class WebGlRenderer extends CoreRenderer {
725
}
726
727
/**
728
- * Updates the WebGL context's clear color and clears the color buffer.
729
- *
+ * Sets the glClearColor to the specified color. *
730
* @param color - The color to set as the clear color, represented as a 32-bit integer.
731
*/
732
updateClearColor(color: number) {
@@ -745,6 +744,5 @@ export class WebGlRenderer extends CoreRenderer {
745
744
raw: color,
746
normalized: normalizedColor,
747
};
748
- glw.clear();
749
750
0 commit comments