[turbine] Fix GLFWimage member init order
Some checks are pending
Build / build (push) Waiting to run
Some checks are pending
Build / build (push) Waiting to run
This commit is contained in:
parent
a521887ddd
commit
b9a26ab61e
@ -249,9 +249,9 @@ static ox::Result<IconData> toGlfwImgPixels(ox::SpanView<uint8_t> iconPng) noexc
|
||||
ox::Error setWindowIcon(Context &ctx, ox::SpanView<uint8_t> 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 {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user