Webgl icon example / restore texture for icons
This commit is contained in:
1 parent
9e55a8b2f0
commit
b8564d503a
2 files changed
+61
-16
No files matched your search
@@ -113,7 +113,6 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
|
||||
*/
|
||||
constructor(vectorLayer, options) {
|
||||
const uniforms = options.uniforms || {};
|
||||
uniforms.u_texture = getBlankImageData();
|
||||
const projectionMatrixTransform = createTransform();
|
||||
uniforms[DefaultUniform.PROJECTION_MATRIX] = projectionMatrixTransform;
|
||||
|
||||
|
||||
Reference in new issue
Block a user