From b9a26ab61e808ae0b51a79e4bdaf8059dde7cb88 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 11 Apr 2025 21:44:52 -0500 Subject: [PATCH] [turbine] Fix GLFWimage member init order --- src/olympic/turbine/src/glfw/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/olympic/turbine/src/glfw/gfx.cpp b/src/olympic/turbine/src/glfw/gfx.cpp index de601f74..9e1dc779 100644 --- a/src/olympic/turbine/src/glfw/gfx.cpp +++ b/src/olympic/turbine/src/glfw/gfx.cpp @@ -249,9 +249,9 @@ static ox::Result toGlfwImgPixels(ox::SpanView iconPng) noexc ox::Error setWindowIcon(Context &ctx, ox::SpanView iconPng) noexcept { OX_REQUIRE_M(icon, toGlfwImgPixels(iconPng)); GLFWimage const img { - .pixels = icon.pixels.data(), .width = icon.w, .height = icon.h, + .pixels = icon.pixels.data(), }; glfwSetWindowIcon(ctx.window, 1, &img); return {};