replace all destructor code by an assert to alerte user when he forgot to call explicitely the release method
Replace assert in destructors by a specific fonction that will break in debug
Fix release build. Try to add traces in destructors warnings
[Debug] Add backtrace in the log when the release method wasn't called before the destructor by the GC
[Win32] Fix Window release. (close method is automatically called when the user hit the close button.)
Fix missing Mesh destruction
Replace the MessageBoxA by writeln (MessageBoxA can cause some issue when message like a calstack is really long)
Fix potential issue with Mesh.destruct method if mesh doesn't have texture or sharder
Fix potential issue, cause program shader can save his id but shader can be deleted (it's the shader class that release the shaderprogram id)
Fix few comments
Fix : glViewport can be called before the context setted up
Replace assert in destructors by a specific fonction that will break in debug
[Debug] Add backtrace in the log when the release method wasn't called before the destructor by the GC
[Win32] Fix Window release. (close method is automatically called when the user hit the close button.)
Add a TODO for a future optimization