Skip to content

Commit

Permalink
fix setPaintProperty race condition when setting a DDS property to a …
Browse files Browse the repository at this point in the history
…constant
  • Loading branch information
mourner committed Jan 30, 2019
1 parent 90d2d48 commit 90fb962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/data/program_configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ export default class ProgramConfiguration {
for (const property in this.binders) {
const binder = this.binders[property];
for (const uniformName of binder.uniformNames) {
if (!uniformBindings[uniformName]) continue;
binder.setUniforms(context, uniformBindings[uniformName], globals, properties.get(property), uniformName);
}
}
Expand Down

0 comments on commit 90fb962

Please sign in to comment.