markfguerra / GLWallpaperService

Please submit issues and pull requests to the main repository
https://github.com/GLWallpaperService/GLWallpaperService
Apache License 2.0
218 stars 114 forks source link

If creating a context and reusing it, the destruction of the reused conte #13

Closed Ofenhed closed 13 years ago

Ofenhed commented 13 years ago

If creating a context and reusing it, the destruction of the reused context will destroy the original context. When previewing under certain conditions (using framebuffers, for some strange reason) this will crash the driver on the Samsung Galaxy S. Using a reuse counter fixes this problem.

Ofenhed commented 13 years ago

Seems to have been a bug with the Samsung Galaxy S. Removing the destroyContext altogether solves it. The context should be destroyed by the glTerminate anyway.

Ofenhed commented 13 years ago

No, it wasn't... I hate the Samsung Galaxy S, it won't let me destroy the context and it won't let me keep the context...