Adding virtual destructor for RenderCallbacks struct

This commit is contained in:
Kevin Watts
2014-10-16 11:38:45 -07:00
parent 46bd05f4f7
commit 2733f21d5f

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;
};