Commit 21fdc89
authored
fix leak of temporary GL context on windows (#199)
Creating a modern OpenGL context on Windows requires first creating a temporary context, using it to load some function pointers (e.g. `wglCreateContextAttribsARB`), and then using those to create the actual context. In Baseview's case, the temporary context was not being deleted afterwards, resulting in a resource leak.1 parent 267769b commit 21fdc89
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
0 commit comments