1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 03:36:43 +00:00

Disable physics profiler, if Bullet was compiled without profiling support

This commit is contained in:
Andrei Kortunov 2020-05-15 12:38:22 +04:00
parent c69c7d0b3b
commit e827d9c04f

View file

@ -15,6 +15,9 @@
#include <MyGUI_ClipboardManager.h>
#include <MyGUI_WidgetManager.h>
// For BT_NO_PROFILE
#include <LinearMath/btQuickprof.h>
#include <SDL_keyboard.h>
#include <SDL_clipboard.h>
@ -2202,7 +2205,9 @@ namespace MWGui
void WindowManager::toggleDebugWindow()
{
#ifndef BT_NO_PROFILE
mDebugWindow->setVisible(!mDebugWindow->isVisible());
#endif
}
void WindowManager::cycleSpell(bool next)