TheCherno / Sparky

Cross-Platform High Performance 2D/3D game engine for people like me who like to write code.
Apache License 2.0
1.1k stars 222 forks source link

Assert error when closing app during lesson 11 : Layers #22

Closed LordRhys closed 9 years ago

LordRhys commented 9 years ago

I have everything working fine with no compile errors, but when I close the app with the 'x' button in the top right corner I will get an Assertion Error and the break will be at the delete mShader; statement in the Layer Destructor. Any clues as to why I might be getting this?

LordRhys commented 9 years ago

I guess never mind, since you got the same issue just without the assert error and corrected it at the end of the lesson. The correction worked for me also.