Creation and deletion of sources, loading and new session. Cleanup code

and prevent crash on delete.
This commit is contained in:
brunoherbelin
2020-05-09 00:56:37 +02:00
parent 451c793cdd
commit c1b76de6e0
16 changed files with 408 additions and 100 deletions

View File

@@ -16,7 +16,7 @@ class ImageShader : public Shader
public:
ImageShader();
virtual ~ImageShader() {}
// virtual ~ImageShader() {}
void use() override;
void reset() override;