From 94c59604ee7c1e6e0cfcd08d31707565217236a9 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 --- src/nostalgia/modules/core/src/opengl/gfx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nostalgia/modules/core/src/opengl/gfx.cpp b/src/nostalgia/modules/core/src/opengl/gfx.cpp index 5a220c30a..b9e04721d 100644 --- a/src/nostalgia/modules/core/src/opengl/gfx.cpp +++ b/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