From 6ee8091e722f3e1c5475f2cd9206c763342ddb52 Mon Sep 17 00:00:00 2001 From: Floris Date: Tue, 4 Aug 2026 17:19:04 +0200 Subject: [PATCH 1/2] buildsquare gl4 example: fix flicker issue --- cont/examples/Widgets/gui_buildsquare_gl4.lua | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cont/examples/Widgets/gui_buildsquare_gl4.lua b/cont/examples/Widgets/gui_buildsquare_gl4.lua index 6a6c7a35440..2456f9d87c7 100644 --- a/cont/examples/Widgets/gui_buildsquare_gl4.lua +++ b/cont/examples/Widgets/gui_buildsquare_gl4.lua @@ -140,16 +140,7 @@ flat in float v_status; out vec4 fragColor; void main() { - float pulse = 0.85 + 0.15 * sin(timeInfo.x * 4.0); - - vec3 col = v_color.rgb * pulse; - float alpha = v_color.a * pulse; - - if (v_status < 0.5) { - col = mix(col, vec3(1.0, 0.2, 0.2), 0.3 * sin(timeInfo.x * 8.0 + 1.0)); - } - - fragColor = vec4(col, alpha); + fragColor = v_color; } ]] From 9dc9f2a2a81b63f9890151f71013e2c162d93224 Mon Sep 17 00:00:00 2001 From: lostsquirrel1 Date: Tue, 4 Aug 2026 17:48:40 +0100 Subject: [PATCH 2/2] update changelogs --- doc/site/content/changelogs/changelog-2026-07.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/site/content/changelogs/changelog-2026-07.markdown b/doc/site/content/changelogs/changelog-2026-07.markdown index 252e6559b41..a12976ea753 100644 --- a/doc/site/content/changelogs/changelog-2026-07.markdown +++ b/doc/site/content/changelogs/changelog-2026-07.markdown @@ -114,3 +114,4 @@ Added a bunch of `debug.emulateFoo` functions that emulate input. Useful for aut - fix unitsync not running functions passed to `Spring.TimeCheck`. - fix Skirmish AI API compilation issues due to `AIFloat3` having a non-trivial constructor. - attempt to fix the lack of `wupget:GameProgress` calls when initially catching up. +- fix Lua `VBO::CopyTo` to copy VBO data CPU side in additon to GPU side. Formerly it only copied data GPU side.