mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Expose OpenGL debugging as a normal setting
This commit is contained in:
parent
ecfe9c5c2f
commit
7a6ca85081
11 changed files with 49 additions and 95 deletions
|
@ -229,6 +229,7 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
|
|||
params.Stencilbuffer = false;
|
||||
params.Vsync = vsync;
|
||||
params.EventReceiver = receiver;
|
||||
params.DriverDebug = g_settings->getBool("opengl_debug");
|
||||
|
||||
// there is no standardized path for these on desktop
|
||||
std::string rel_path = std::string("client") + DIR_DELIM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue