Martin Pulec
0e0ffb3454
GLFW: swap buffers after changing size
...
In Wayland, when resizing windows programmatically glfwSetWindowSize(),
if swap buffers was not triggered, event returning back to the original
resolution is triggered when swap buffer is triggered just after
drawing. It looks like that no drawing should occur before window size
change and swap buffers, seems there has been reports for SDL, eg. [1].
Also do not call gl_resize() after glfw_resize_window() (needless, it
will be triggered via callback after swapping the buffers).
To reproduce the wrong behavior - use Wayland with GLFW native Wayland
build, then: `uv -t testcard -d gl` (size may be any other than the
splashscreen size 512x512).
[1] https://github.com/libsdl-org/SDL/pull/4821
2023-05-19 12:49:35 +02:00
..
2023-05-18 16:46:49 +02:00
2023-05-05 08:50:09 +02:00
2023-02-27 09:49:20 +01:00
2023-03-20 16:54:05 +01:00
2023-03-30 14:01:10 +02:00
2023-05-18 10:21:23 +02:00
2023-05-17 11:48:08 +02:00
2023-05-18 16:46:50 +02:00
2023-04-26 09:53:10 +02:00
2023-05-19 08:53:17 +02:00
2023-05-19 12:49:27 +02:00
2023-05-18 14:34:18 +02:00
2023-05-17 11:48:08 +02:00
2023-05-19 12:49:35 +02:00
2023-05-18 16:46:50 +02:00
2023-03-21 08:42:40 +01:00
2022-08-12 12:22:22 +02:00
2023-03-29 13:39:48 +02:00
2023-03-14 10:31:41 +01:00
2023-05-19 08:37:59 +02:00
2023-05-17 11:42:05 +02:00
2022-08-04 14:07:45 +02:00
2022-03-02 15:56:23 +01:00
2023-04-04 14:22:52 +02:00
2023-05-02 15:22:55 +02:00
2023-05-02 15:22:58 +02:00
2023-05-02 15:22:55 +02:00
2023-04-12 12:52:07 +02:00
2023-04-11 11:52:13 +02:00
2023-03-30 14:01:10 +02:00
2023-05-10 08:52:01 +02:00
2023-05-10 08:52:02 +02:00
2022-10-07 15:11:23 +02:00
2022-08-31 14:02:34 +02:00
2023-03-29 12:09:38 +02:00
2023-04-11 13:10:58 +02:00
2023-05-10 08:52:02 +02:00
2023-04-28 13:12:35 +02:00
2022-08-18 11:20:38 +02:00
2022-12-06 15:54:24 +01:00
2022-08-09 17:00:19 +02:00
2023-02-09 09:19:50 +01:00
2022-03-28 19:16:30 +02:00
2023-04-13 14:04:29 +02:00
2023-04-12 12:52:07 +02:00
2023-05-02 15:22:55 +02:00
2023-04-13 14:04:29 +02:00
2023-03-09 12:30:10 +01:00
2023-03-29 12:09:38 +02:00
2023-04-11 13:10:58 +02:00
2023-05-10 08:52:02 +02:00
2023-04-28 12:18:52 +02:00
2023-04-28 12:18:52 +02:00
2023-03-16 16:03:28 +01:00
2022-11-22 14:50:25 +01:00
2022-10-13 12:15:40 +02:00
2022-03-18 08:52:32 +01:00
2022-03-18 08:52:32 +01:00
2023-03-16 14:27:11 +01:00
2023-05-02 15:22:55 +02:00
2022-08-26 12:27:52 +02:00
2022-11-22 14:50:19 +01:00
2023-04-11 12:06:59 +02:00
2022-10-03 08:41:40 +02:00
2023-04-04 14:22:52 +02:00
2023-04-04 14:22:52 +02:00
2022-03-18 08:52:32 +01:00
2022-03-18 08:52:32 +01:00
2023-04-26 09:53:10 +02:00
2022-03-04 16:28:58 +01:00
2023-05-02 15:22:55 +02:00
2023-03-17 14:11:30 +01:00
2023-03-24 10:57:22 +01:00
2022-06-21 10:21:32 +02:00
2023-02-21 08:59:41 +01:00
2023-02-21 08:59:41 +01:00
2023-02-09 09:19:50 +01:00
2023-03-16 13:20:41 +01:00
2023-03-16 14:26:22 +01:00
2023-05-02 15:22:55 +02:00
2022-10-12 12:05:19 +02:00
2023-02-09 09:19:50 +01:00
2023-02-28 16:44:42 +01:00
2023-02-28 16:44:42 +01:00
2023-04-24 13:50:34 +02:00
2023-04-14 12:50:40 +02:00
2023-03-13 16:26:14 +01:00
2023-03-10 10:36:42 +01:00
2023-03-24 14:06:49 +01:00
2023-03-24 14:06:49 +01:00
2022-08-22 09:57:16 +02:00
2022-06-01 11:22:01 +02:00
2023-02-09 09:19:50 +01:00
2023-02-09 09:19:50 +01:00
2023-02-27 12:36:56 +01:00
2022-05-18 11:19:48 +02:00