fix: Wasn't missing lib - it's GL/gl.h on linux

This commit is contained in:
jonnypower 2018-04-29 22:57:11 -07:00
parent 67c62bbb89
commit e6ae628b5b
2 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,6 @@ matrix:
- libc6-i386
- libcurl4-openssl-dev:i386
- libpng12-dev:i386
- libgl1-mesa-dev:i386
- os: osx
compiler: clang

View File

@ -11,10 +11,15 @@
#include <windows.h>
#include <GL/gl.h>
#else
#include <OpenGL/gl.h>
#define NULL 0
#endif
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
// XXX #include <iostream.h>
// Emit OpenGL calls to draw the particles. These are drawn with