Avoid unsafety with stack-allocated mesh buffer

This commit is contained in:
sfan5 2024-08-29 16:01:29 +02:00
parent 6105804f00
commit 538b8b9b34

@ -154,7 +154,7 @@ Hud::Hud(Client *client, LocalPlayer *player,
b.getMaterial().Lighting = false;
b.getMaterial().MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
b.setHardwareMappingHint(scene::EHM_STATIC);
//b.setHardwareMappingHint(scene::EHM_STATIC); // FIXME: incorrectly stack allocated, not safe!
}
void Hud::readScalingSetting()