Adding virtual destructor for RenderCallbacks struct

This commit is contained in:
Kevin Watts committed 2014-10-16 11:39:54 -07:00
1 parent 46bd05f4f7
commit 2733f21d5f
1 file changed
+1
+1
View File
@@ -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;
};