Commit 845421e
committed
Fix windows regressions
As I hoped, none of the changes broke windows specifically, beyond just
the untested change to lazily fetched GL functions to avoid having to
require the GL library at runtime which was nasty.
Beyond that, I just needed to support a consistent way for windows to
trigger a "create" event.
Right now both the callback and the window aren't registered in the
eventloop when the WM_CREATE real event is fired, so I couldn't use
that, in the future I'll investigate ways to try to mitigate this but
it's difficult.1 parent f298e52 commit 845421e
2 files changed
+9
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
108 | 109 | | |
109 | | - | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
118 | | - | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 99 | + | |
105 | 100 | | |
106 | 101 | | |
107 | 102 | | |
108 | 103 | | |
109 | 104 | | |
110 | 105 | | |
111 | 106 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 107 | | |
118 | 108 | | |
119 | 109 | | |
| |||
199 | 189 | | |
200 | 190 | | |
201 | 191 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | 192 | | |
210 | 193 | | |
211 | 194 | | |
| |||
228 | 211 | | |
229 | 212 | | |
230 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
231 | 218 | | |
232 | 219 | | |
233 | 220 | | |
| |||
0 commit comments