mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-04 06:22:47 +02:00
More OS X compatibility fixes with OpenGL
This commit is contained in:
parent
4468462ce9
commit
5b525852b4
@ -2,6 +2,9 @@
|
||||
|
||||
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_OS_X_VERSION_10_9
|
||||
#include <OpenGL/glu.h>
|
||||
#ifndef GL_RGBA32F
|
||||
#define GL_RGBA32F GL_RGBA32F_ARB
|
||||
#endif
|
||||
#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
|
||||
#include <OpenGL/gl3.h>
|
||||
#include <OpenGL/glu.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user