destroy all textures on window destruction and restore OpenGL objects when Android resumes the app
This commit is contained in:
@@ -26,5 +26,6 @@ public:
|
||||
GLuint getTextureID() { return texID; }
|
||||
int getWidth() { return w; }
|
||||
int getHeight() { return h; }
|
||||
int bytes() { return w * h * 4; }
|
||||
GLuint getFBO() { return fboID; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user