glutin icon indicating copy to clipboard operation
glutin copied to clipboard

Add a way to recreate a context with the same window

Open tomaka opened this issue 10 years ago • 2 comments

In case of context loss.

tomaka avatar Jun 25 '15 07:06 tomaka

This is the problem I am experiencing on android. If you minimize your app, and then come back to it, android may have destroyed the context. It is not guaranteed to have remained.

tiby312 avatar Jan 07 '18 04:01 tiby312

Afaik, this is achievable via the raw context extensions (even though it is not the most ergonomic thing). Sadly, this extension is only implemented for Windows and Linux. Feel free to contribute implementations of this extension for other platforms.

goddessfreya avatar Mar 29 '19 22:03 goddessfreya

Fixed in #1435.

kchibisov avatar Sep 03 '22 06:09 kchibisov