Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen committed Mar 6, 2024
1 parent 07b5219 commit a5ad92c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/engine/test/lib/model.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ test('Model#pipeline caching', t => {
t.deepEqual(uniforms, {x: -0.5}, 'Pipeline uniforms set');

model2.setBufferLayout([{name: 'a', format: 'float32x3'}]);
model2.predraw(); // Forces a pipeline update
t.ok(model1.pipeline !== model2.pipeline, 'Pipeline updated');

model2.pipeline.setUniformsWebGL = setUniformsSpy;
Expand Down

0 comments on commit a5ad92c

Please sign in to comment.