Rebuild fix

This commit is contained in:
Joshua Granick
2014-12-12 11:24:11 -08:00
parent 07cbb27803
commit b23bf05d26
3 changed files with 7 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
<section unless="display"> <section unless="display">
<haxelib name="hxcpp" if="cpp" /> <haxelib name="hxcpp" if="cpp" unless="rebuild" />
<ndll name="std" haxelib="hxcpp" if="cpp" /> <ndll name="std" haxelib="hxcpp" if="cpp" />
<ndll name="regexp" haxelib="hxcpp" if="cpp" /> <ndll name="regexp" haxelib="hxcpp" if="cpp" />
<ndll name="zlib" haxelib="hxcpp" if="cpp" unless="ios" /> <ndll name="zlib" haxelib="hxcpp" if="cpp" unless="ios" />

View File

@@ -33,12 +33,14 @@
#define GL_GLEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES
#include <SDL_opengl.h> #include <SDL_opengl.h>
#include <SDL_opengl_glext.h>
#define FORCE_NON_PO2 #define FORCE_NON_PO2
#elif defined(HX_MACOS) #elif defined(HX_MACOS)
#define GL_GLEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES
#include <SDL_opengl.h> #include <SDL_opengl.h>
#include <SDL_opengl_glext.h>
#define FORCE_NON_PO2 #define FORCE_NON_PO2
#define glBindFramebuffer glBindFramebufferEXT #define glBindFramebuffer glBindFramebufferEXT
@@ -67,6 +69,7 @@
typedef ptrdiff_t GLsizeiptrARB; typedef ptrdiff_t GLsizeiptrARB;
#define NEED_EXTENSIONS #define NEED_EXTENSIONS
#include <SDL_opengl.h> #include <SDL_opengl.h>
#include <SDL_opengl_glext.h>
#endif #endif

View File

@@ -28,12 +28,14 @@
#define DYNAMIC_OGL #define DYNAMIC_OGL
#define GL_GLEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES
#include <SDL_opengl.h> #include <SDL_opengl.h>
#include <SDL_opengl_glext.h>
#define FORCE_NON_PO2 #define FORCE_NON_PO2
#elif defined (HX_MACOS) #elif defined (HX_MACOS)
#define GL_GLEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES
#include <SDL_opengl.h> #include <SDL_opengl.h>
#include <SDL_opengl_glext.h>
#define FORCE_NON_PO2 #define FORCE_NON_PO2
#define glBindFramebuffer glBindFramebufferEXT #define glBindFramebuffer glBindFramebufferEXT
#define glBindRenderbuffer glBindRenderbufferEXT #define glBindRenderbuffer glBindRenderbufferEXT
@@ -59,6 +61,7 @@
typedef ptrdiff_t GLsizeiptrARB; typedef ptrdiff_t GLsizeiptrARB;
#define NEED_EXTENSIONS #define NEED_EXTENSIONS
#include <SDL_opengl.h> #include <SDL_opengl.h>
#include <SDL_opengl_glext.h>
#endif #endif