mirror of
https://github.com/ENSL/NS.git
synced 2025-01-22 01:01:17 +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
|
||||
- libcurl4-openssl-dev:i386
|
||||
- libpng12-dev:i386
|
||||
- libgl1-mesa-dev:i386
|
||||
|
||||
- os: osx
|
||||
compiler: clang
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue