Commit f2fd800
authored
Fix VersionUnavailable warning (#662)
When building an app on hover, we are getting the following error
```
GLFW: An uncaught error has occurred: VersionUnavailable: NSGL: Failed to create OpenGL context
```
This is happening when the Resource Window is created in background. The
Version hint requirements is being reverted to the initial values after we
create the main window, so the resource window does not have a version hint set.
This commit calls the global version hint code after we reset it, to ensure the
resource window have it set.
This fixes the warning, but it's not the actual root-cause to the Flutter 3.0 errors.
It is another warning that is misleading the investigation on that bug.1 parent b3c5937 commit f2fd800
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments