From 482767c61f99568f145d29fc30fca16f544840c7 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 25 May 2024 21:32:18 -0500 Subject: [PATCH] [nostalgia/core/opengl] Fix for Ox changes --- deps/nostalgia/src/nostalgia/modules/core/src/opengl/gfx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/nostalgia/src/nostalgia/modules/core/src/opengl/gfx.cpp b/deps/nostalgia/src/nostalgia/modules/core/src/opengl/gfx.cpp index 5a220c3..b9e0472 100644 --- a/deps/nostalgia/src/nostalgia/modules/core/src/opengl/gfx.cpp +++ b/deps/nostalgia/src/nostalgia/modules/core/src/opengl/gfx.cpp @@ -385,7 +385,8 @@ static void setSprite( uint_t const idx, Sprite const&s) noexcept { // Tonc Table 8.4 - static constexpr ox::Array, 12> dimensions{ + struct Sz { uint_t x{}, y{}; }; + static constexpr ox::Array dimensions{ // col 0 {1, 1}, // 0, 0 {2, 2}, // 0, 1