mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix windows build
This commit is contained in:
parent
756ff4a2c7
commit
e9a7a32249
1 changed files with 7 additions and 1 deletions
|
|
@ -32,7 +32,13 @@ void guiutil::alert(
|
|||
const runnable& on_hidden
|
||||
) {
|
||||
auto panel = std::make_shared<Panel>(
|
||||
glm::vec2(glm::min(650UL, glm::max(text.length() * 10, 200UL)), 300),
|
||||
glm::vec2(
|
||||
glm::min(
|
||||
static_cast<size_t>(650),
|
||||
glm::max(text.length() * 10, static_cast<size_t>(200))
|
||||
),
|
||||
300
|
||||
),
|
||||
glm::vec4(4.0f),
|
||||
4.0f
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue