Skip to content

Commit

Permalink
Merge b3b19b0 into 3a90590
Browse files Browse the repository at this point in the history
  • Loading branch information
Xintong Xia committed Aug 23, 2019
2 parents 3a90590 + b3b19b0 commit f9d66a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/layers/src/icon-layer/icon-layer.js
Expand Up @@ -180,7 +180,7 @@ export default class IconLayer extends Layer {
const {viewport} = this.context;

const iconsTexture = iconManager.getTexture();
if (iconsTexture) {
if (iconsTexture && iconsTexture.loaded) {
this.state.model
.setUniforms(
Object.assign({}, uniforms, {
Expand Down

0 comments on commit f9d66a8

Please sign in to comment.