ajon542 / GameEngine

Experimenting with OpenTK inside WPF
0 stars 0 forks source link

Handle shutdown of scenes correctly #14

Closed ajon542 closed 8 years ago

ajon542 commented 8 years ago

There is a shutdown method in the scene class. In order to open and close dockable windows we need to figure out how to do this properly. Currently, the PhongExample simply creates a new ShaderProgram class to bypass a crash, however, this is clearly not correct as it has shaders loaded into memory.