mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +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
|
@ -1046,6 +1046,7 @@ void CGUITTFont::createSharedPlane()
|
|||
buf->append(vertices, 4, indices, 6);
|
||||
|
||||
shared_plane_.addMeshBuffer( buf );
|
||||
shared_plane_.setHardwareMappingHint(EHM_STATIC);
|
||||
|
||||
shared_plane_ptr_ = &shared_plane_;
|
||||
buf->drop(); //the addMeshBuffer method will grab it, so we can drop this ptr.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue