diff --git a/packages/maps/dev_lainio.cgz b/packages/maps/dev_lainio.cgz index d91ddb36..6f8eb8ca 100644 Binary files a/packages/maps/dev_lainio.cgz and b/packages/maps/dev_lainio.cgz differ diff --git a/source/include/GL/glext.h b/source/include/GL/glext.h index 7bb8e6e7..7f0a5e4e 100755 --- a/source/include/GL/glext.h +++ b/source/include/GL/glext.h @@ -3053,17 +3053,19 @@ typedef ptrdiff_t GLintptr; typedef ptrdiff_t GLsizeiptr; #endif -#ifndef GL_ARB_vertex_buffer_object +#if !defined(GL_ARB_vertex_buffer_object) && !defined(__APPLE__) /* GL types for handling large vertex buffer objects */ typedef ptrdiff_t GLintptrARB; typedef ptrdiff_t GLsizeiptrARB; #endif -#ifndef GL_ARB_shader_objects +#ifndef GL_ARB_shader /* GL types for handling shader object handles and program/shader text */ typedef char GLcharARB; /* native character */ +#ifndef __APPLE__ typedef unsigned int GLhandleARB; /* shader object handle */ #endif +#endif /* GL types for "half" precision (s10e5) float data in host memory */ #ifndef GL_ARB_half_float_pixel diff --git a/source/src/bot/bot.h b/source/src/bot/bot.h index 783040e2..86813e7d 100644 --- a/source/src/bot/bot.h +++ b/source/src/bot/bot.h @@ -39,7 +39,9 @@ #ifndef BOT_H #define BOT_H +#ifndef RELEASE_BUILD #define RELEASE_BUILD // Set when you want to make a release build +#endif #include "bot_util.h" #include "bot_waypoint.h" diff --git a/source/src/main.cpp b/source/src/main.cpp index d18706fa..e472ea07 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -441,7 +441,7 @@ void setupscreen(int &usedcolorbits, int &useddepthbits, int &usedfsaa) int flags = SDL_RESIZABLE; #if defined(WIN32) || defined(__APPLE__) flags = 0; - putenv("SDL_VIDEO_CENTERED=1"); //Center window + putenv(newstring("SDL_VIDEO_CENTERED=1")); //Center window #endif if(fullscreen) flags |= SDL_FULLSCREEN; SDL_Rect **modes = SDL_ListModes(NULL, SDL_OPENGL|flags);