Skip to content

Commit

Permalink
Pass opts to getModuleUniforms
Browse files Browse the repository at this point in the history
  • Loading branch information
tsherif committed Sep 12, 2019
1 parent 9b9d652 commit 4c4dc62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/src/lib/base-model.js
Expand Up @@ -141,13 +141,13 @@ export default class BaseModel {
return this;
}

getModuleUniforms() {
getModuleUniforms(opts) {
this._checkProgram();

const getUniforms = this.programManager.getUniforms(this.program);

if (getUniforms) {
return getUniforms();
return getUniforms(opts);
}

return {};
Expand Down

0 comments on commit 4c4dc62

Please sign in to comment.