Commit b132141
authored
[contrib.glfw3] New version (flickering bug fix) (#25043)
Release notes:
- The code has been optimized for size
- Fixed [#21](pongasoft/emscripten-glfw#21):
Flicker when resizing
- to fix this issue, resizing (when the handle is moved or the window
resized) is now delayed until `glfwPollEvents()`
is called. Make sure to call `glfwPollEvents()` at the beginning of the
loop to ensure a flicker-free experience.
See [Events & Main
loop](https://github.com/pongasoft/emscripten-glfw/blob/master/docs/Usage.md#events--main-loop)
for more details.
Fix has been deployed to the
[demo](https://pongasoft.github.io/emscripten-glfw/test/demo/main.html)
and [WebGPU Shader Toy](https://pongasoft.github.io/webgpu-shader-toy)
to see it in action/test.1 parent 8988aa3 commit b132141
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments