mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Fix potential violation of invariant
The shared function for reading back context attributes, _glfwRefreshContextAttribs, did not check whether the newly created context had been successfully made current. This violated the invariant that the context TLS slot always points to a valid window and that its context is current whenever _glfw.platform.getProcAddress is called. Related to #2327 This was adapted to 3.3-stable fromfa0ea5c41fandddd92a4fa8.
This commit is contained in:
@@ -202,6 +202,7 @@ video tutorials.
|
||||
- Matt Sealey
|
||||
- Steve Sexton
|
||||
- Arkady Shapkin
|
||||
- Mingjie Shen
|
||||
- Ali Sherief
|
||||
- Yoshiki Shibukawa
|
||||
- Dmitri Shuralyov
|
||||
|
||||
Reference in New Issue
Block a user