destroy all textures on window destruction and restore OpenGL objects when Android resumes the app

This commit is contained in:
2017-04-28 15:06:23 +01:00
parent 96401a1e5d
commit 2e47ccb0c6
12 changed files with 87 additions and 42 deletions

View File

@@ -364,3 +364,13 @@ bool ui::Canvas::create(int width, int height)
m_mesh.create();
return true;
}
void ui::Canvas::snapshot_save()
{
}
void ui::Canvas::snapshot_restore()
{
};