Webgl points renderer / throw if shader compilation fails

This should only happen if providing handcrafted shaders to the renderer.
This commit is contained in:
Olivier Guyot
2019-10-22 14:20:57 +02:00
parent 94b8cf6af3
commit a1c00744d1

View File

@@ -132,6 +132,10 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
options.vertexShader
);
if (this.getShaderCompileErrors()) {
throw new Error(this.getShaderCompileErrors());
}
/**
* @type {boolean}
* @private