mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Set VBO hints in more places
This commit is contained in:
parent
fbec378869
commit
5280863300
5 changed files with 19 additions and 1 deletions
|
@ -135,6 +135,7 @@ Hud::Hud(Client *client, LocalPlayer *player,
|
|||
|
||||
m_rotation_mesh_buffer.getMaterial().Lighting = false;
|
||||
m_rotation_mesh_buffer.getMaterial().MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
|
||||
m_rotation_mesh_buffer.setHardwareMappingHint(scene::EHM_STATIC);
|
||||
}
|
||||
|
||||
Hud::~Hud()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue