diff --git a/Specs/Scene/PostProcessStageCompositeSpec.js b/Specs/Scene/PostProcessStageCompositeSpec.js index 7d2230b0ef03..ce5bb16f3240 100644 --- a/Specs/Scene/PostProcessStageCompositeSpec.js +++ b/Specs/Scene/PostProcessStageCompositeSpec.js @@ -207,7 +207,7 @@ defineSuite([ } expect(s).toRender([0, 0, 0, 255]); - var stage = scene.postProcessStages.add(new PostProcessStageComposite({ + var stage = s.postProcessStages.add(new PostProcessStageComposite({ stages : [new PostProcessStage({ fragmentShader : 'uniform sampler2D depthTexture; void main() { gl_FragColor = vec4(1.0); }' })]