mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
fix: Wasn't missing lib - it's GL/gl.h on linux
This commit is contained in:
parent
67c62bbb89
commit
e6ae628b5b
2 changed files with 6 additions and 2 deletions
|
@ -14,7 +14,6 @@ matrix:
|
||||||
- libc6-i386
|
- libc6-i386
|
||||||
- libcurl4-openssl-dev:i386
|
- libcurl4-openssl-dev:i386
|
||||||
- libpng12-dev:i386
|
- libpng12-dev:i386
|
||||||
- libgl1-mesa-dev:i386
|
|
||||||
|
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
|
|
@ -11,10 +11,15 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#else
|
#else
|
||||||
#include <OpenGL/gl.h>
|
|
||||||
#define NULL 0
|
#define NULL 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <OpenGL/gl.h>
|
||||||
|
#else
|
||||||
|
#include <GL/gl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// XXX #include <iostream.h>
|
// XXX #include <iostream.h>
|
||||||
|
|
||||||
// Emit OpenGL calls to draw the particles. These are drawn with
|
// Emit OpenGL calls to draw the particles. These are drawn with
|
||||||
|
|
Loading…
Reference in a new issue