Adding virtual destructor for RenderCallbacks struct
This commit is contained in:
1 parent
46bd05f4f7
commit
2733f21d5f
1 file changed
+1
@@ -101,6 +101,7 @@ struct sth_texture
|
||||
|
||||
struct RenderCallbacks
|
||||
{
|
||||
virtual ~RenderCallbacks() {}
|
||||
virtual void updateTexture(sth_texture* texture, sth_glyph* glyph, int textureWidth, int textureHeight)=0;
|
||||
virtual void render(sth_texture* texture)=0;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user