From e6ae628b5b1116f1d65269ad8ca69258e7f45469 Mon Sep 17 00:00:00 2001 From: jonnypower Date: Sun, 29 Apr 2018 22:57:11 -0700 Subject: [PATCH] fix: Wasn't missing lib - it's GL/gl.h on linux --- .travis.yml | 1 - main/source/particles/opengl.cpp | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9fcb1b19..e1893939 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,6 @@ matrix: - libc6-i386 - libcurl4-openssl-dev:i386 - libpng12-dev:i386 - - libgl1-mesa-dev:i386 - os: osx compiler: clang diff --git a/main/source/particles/opengl.cpp b/main/source/particles/opengl.cpp index 10cf849e..38e7f7a8 100644 --- a/main/source/particles/opengl.cpp +++ b/main/source/particles/opengl.cpp @@ -11,10 +11,15 @@ #include #include #else -#include #define NULL 0 #endif +#ifdef __APPLE__ +#include +#else +#include +#endif + // XXX #include // Emit OpenGL calls to draw the particles. These are drawn with