diff options
author | Max Kellermann <max.kellermann@gmail.com> | 2018-06-10 22:00:52 +0200 |
---|---|---|
committer | Max Kellermann <max.kellermann@gmail.com> | 2018-06-10 23:58:12 +0200 |
commit | fa6fc642bbcb95d905b1f66bce9e9f0af1f41c04 (patch) | |
tree | 6390682566627ebfe3d6ed23d3121ea5644cad7b | |
parent | 1182314ed5ad32103455a88755fc667544312422 (diff) |
guilib/MatrixGLES: move "system_gl.h" to header
This is needed to use `GLfloat`.
-rw-r--r-- | xbmc/guilib/MatrixGLES.cpp | 6 | ||||
-rw-r--r-- | xbmc/guilib/MatrixGLES.h | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/xbmc/guilib/MatrixGLES.cpp b/xbmc/guilib/MatrixGLES.cpp index 16098da741..a6d125d9a8 100644 --- a/xbmc/guilib/MatrixGLES.cpp +++ b/xbmc/guilib/MatrixGLES.cpp @@ -18,16 +18,14 @@ * */ - -#include "system_gl.h" - -#include <cmath> #include "MatrixGLES.h" + #include "utils/log.h" #if defined(HAS_NEON) #include "utils/CPUInfo.h" #endif +#include <cmath> CMatrixGLStack glMatrixModview = CMatrixGLStack(); CMatrixGLStack glMatrixProject = CMatrixGLStack(); diff --git a/xbmc/guilib/MatrixGLES.h b/xbmc/guilib/MatrixGLES.h index 67dd6f309e..a25a86f19b 100644 --- a/xbmc/guilib/MatrixGLES.h +++ b/xbmc/guilib/MatrixGLES.h @@ -19,6 +19,7 @@ * */ +#include "system_gl.h" #include <cmath> #include <cstring> |