1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-08 13:25:59 +00:00

Fix bugs and C++ compilance

- use 'noexcept' for constexpr
- allocate dynamic array
- enable CAP_TEXTURE on CAP_ROGUEVIZ
This commit is contained in:
Locria Cyber
2023-02-01 13:00:30 +00:00
parent 99e3b25560
commit 5e8839f3a9
3 changed files with 6 additions and 6 deletions

View File

@@ -128,7 +128,7 @@ endif
ifeq (${HYPERROGUE_USE_ROGUEVIZ},1)
# Enable RogueViz. RogueViz requires C++17.
CXXFLAGS_STD = -std=c++17
CXXFLAGS_EARLY += -DCAP_ROGUEVIZ=1
CXXFLAGS_EARLY += -DCAP_ROGUEVIZ=1 -DCAP_TEXTURE=1
endif