1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixup to last

This commit is contained in:
Zeno Rogue 2020-07-25 16:20:06 +02:00
parent 7e5ff7b318
commit 1d94bd76f8

View File

@ -1573,7 +1573,11 @@ EX void enable_flat_model() {
#if HDR
/** \brief enable the 'flat' model for drawing HUD. Use RAII so it will be switched back later */
namespace stretch { extern ld factor; } namespace ray { extern bool in_use; }
namespace stretch { extern ld factor; }
#if CAP_RAY
namespace ray { extern bool in_use; }
#endif
struct flat_model_enabler {
projection_configuration bak;