all repos — mgba @ 5bcf243139275654fe879b05c3d931a337c0fe90

mGBA Game Boy Advance Emulator

Qt: Fix build on clang
Vicki Pfau vi@endrift.com
Fri, 27 Nov 2020 19:47:47 -0800
commit

5bcf243139275654fe879b05c3d931a337c0fe90

parent

8e096916b1dc1aacc17236e8d2bf6eda4edb5edf

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/DisplayGL.cppsrc/platform/qt/DisplayGL.cpp

@@ -18,6 +18,8 @@ #include <QScreen>

#include <QTimer> #include <QWindow> +#include <cmath> + #include <mgba/core/core.h> #include <mgba-util/math.h> #ifdef BUILD_GL