Rebuild fix
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
<section unless="display">
|
||||
|
||||
<haxelib name="hxcpp" if="cpp" />
|
||||
<haxelib name="hxcpp" if="cpp" unless="rebuild" />
|
||||
<ndll name="std" haxelib="hxcpp" if="cpp" />
|
||||
<ndll name="regexp" haxelib="hxcpp" if="cpp" />
|
||||
<ndll name="zlib" haxelib="hxcpp" if="cpp" unless="ios" />
|
||||
|
||||
@@ -33,12 +33,14 @@
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <SDL_opengl.h>
|
||||
#include <SDL_opengl_glext.h>
|
||||
#define FORCE_NON_PO2
|
||||
|
||||
#elif defined(HX_MACOS)
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <SDL_opengl.h>
|
||||
#include <SDL_opengl_glext.h>
|
||||
#define FORCE_NON_PO2
|
||||
|
||||
#define glBindFramebuffer glBindFramebufferEXT
|
||||
@@ -67,6 +69,7 @@
|
||||
typedef ptrdiff_t GLsizeiptrARB;
|
||||
#define NEED_EXTENSIONS
|
||||
#include <SDL_opengl.h>
|
||||
#include <SDL_opengl_glext.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -28,12 +28,14 @@
|
||||
#define DYNAMIC_OGL
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <SDL_opengl.h>
|
||||
#include <SDL_opengl_glext.h>
|
||||
#define FORCE_NON_PO2
|
||||
|
||||
#elif defined (HX_MACOS)
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <SDL_opengl.h>
|
||||
#include <SDL_opengl_glext.h>
|
||||
#define FORCE_NON_PO2
|
||||
#define glBindFramebuffer glBindFramebufferEXT
|
||||
#define glBindRenderbuffer glBindRenderbufferEXT
|
||||
@@ -59,6 +61,7 @@
|
||||
typedef ptrdiff_t GLsizeiptrARB;
|
||||
#define NEED_EXTENSIONS
|
||||
#include <SDL_opengl.h>
|
||||
#include <SDL_opengl_glext.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user