RenderPipelineShaders icon indicating copy to clipboard operation
RenderPipelineShaders copied to clipboard

Fix Hello Triangle Breathing example not working properly

Open Mcgode opened this issue 1 year ago • 1 comments

time is declared on the stack, but was accessed through a pointer after being unscoped when calling rpsRenderGraphUpdate(). It resulted in receiving an invalid value in DrawTriangleBreathingCb, breaking the demo.

This PR fixes the issue by moving the local variable declaration to the same scope as rpsRenderGraphUpdate().

Mcgode avatar May 07 '23 14:05 Mcgode