Merge pull request #10261 from jahow/webgl-fix-ff-warning
WebGL / do not throw error when shader compilation gives a warning
This commit is contained in:
@@ -143,10 +143,6 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
|
|||||||
options.vertexShader
|
options.vertexShader
|
||||||
);
|
);
|
||||||
|
|
||||||
if (this.getShaderCompileErrors()) {
|
|
||||||
throw new Error(this.getShaderCompileErrors());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @private
|
* @private
|
||||||
@@ -158,10 +154,6 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
|
|||||||
options.hitVertexShader
|
options.hitVertexShader
|
||||||
);
|
);
|
||||||
|
|
||||||
if (this.getShaderCompileErrors()) {
|
|
||||||
throw new Error(this.getShaderCompileErrors());
|
|
||||||
}
|
|
||||||
|
|
||||||
const customAttributes = options.attributes ?
|
const customAttributes = options.attributes ?
|
||||||
options.attributes.map(function(attribute) {
|
options.attributes.map(function(attribute) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user