fix init order
parent
3af6b9c4a0
commit
7d2028cc55
|
@ -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})
|
||||
|
|
|
@ -40,8 +40,8 @@ namespace blt::gfx
|
|||
std::int32_t sync_interval = 0;
|
||||
|
||||
window_data(std::string title, std::function<void(const window_data&)> init, std::function<void(const window_data&)> 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
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 69e6a505d6dda11d4b510901a7b344315bbc5ebe
|
||||
Subproject commit 86fd4a2a9aa18b4dbe8b3688849f7ef81d54f27c
|
Loading…
Reference in New Issue