1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +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)