mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add debug priv, and allow player to display the scene as wire-frame. (#4709)
This commit is contained in:
parent
bf315c05f1
commit
f8fd432dca
4 changed files with 29 additions and 10 deletions
|
@ -521,6 +521,7 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
|
|||
buf->getMaterial().setFlag(video::EMF_TRILINEAR_FILTER, m_cache_trilinear_filter);
|
||||
buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, m_cache_bilinear_filter);
|
||||
buf->getMaterial().setFlag(video::EMF_ANISOTROPIC_FILTER, m_cache_anistropic_filter);
|
||||
buf->getMaterial().setFlag(video::EMF_WIREFRAME, m_control.show_wireframe);
|
||||
|
||||
const video::SMaterial& material = buf->getMaterial();
|
||||
video::IMaterialRenderer* rnd =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue