From 7d2028cc5532d001c07e4b36a34b369e3be540e1 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 29 Apr 2024 21:45:25 -0400 Subject: [PATCH] fix init order --- CMakeLists.txt | 2 +- include/blt/gfx/window.h | 4 ++-- libraries/BLT | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bcfa43c..99ed4f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.25) -set(BLT_GRAPHICS_VERSION 0.11.5) +set(BLT_GRAPHICS_VERSION 0.11.6) set(BLT_GRAPHICS_TEST_VERSION 0.0.1) project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION}) diff --git a/include/blt/gfx/window.h b/include/blt/gfx/window.h index 66c1765..8d53480 100644 --- a/include/blt/gfx/window.h +++ b/include/blt/gfx/window.h @@ -40,8 +40,8 @@ namespace blt::gfx std::int32_t sync_interval = 0; window_data(std::string title, std::function init, std::function update, - std::int32_t width = 640, std::int32_t height = 480): - title(std::move(title)), width(width), height(height), init(std::move(init)), update(std::move(update)) + std::int32_t width = 640, std::int32_t height = 480): init(std::move(init)), update(std::move(update)), + title(std::move(title)), width(width), height(height) {} inline void call_init() const diff --git a/libraries/BLT b/libraries/BLT index 69e6a50..86fd4a2 160000 --- a/libraries/BLT +++ b/libraries/BLT @@ -1 +1 @@ -Subproject commit 69e6a505d6dda11d4b510901a7b344315bbc5ebe +Subproject commit 86fd4a2a9aa18b4dbe8b3688849f7ef81d54f27c