diff --git a/external/cute_spritebatch.h b/external/cute_spritebatch.h index 3e70fdac..21ff867b 100644 --- a/external/cute_spritebatch.h +++ b/external/cute_spritebatch.h @@ -123,7 +123,6 @@ SPRITEBATCH_ASSERT SPRITEBATCH_ATLAS_FLIP_Y_AXIS_FOR_UV SPRITEBATCH_ATLAS_EMPTY_COLOR - SPRITEBATCH_ALLOCA SPRITEBATCH_LOG Revision history: @@ -134,6 +133,7 @@ inverted get pixels callback to let users have an easier time with memory management, added support for pixel padding along the edges of all textures (useful for certain shader effects) + 1.02 (04/09/2020) Compilation fix for FreeBSD - Remove unused alloca header and define */ #ifndef SPRITEBATCH_H @@ -465,15 +465,6 @@ struct spritebatch_t #define SPRITEBATCH_ATLAS_EMPTY_COLOR 0x000000FF #endif -#ifndef SPRITEBATCH_ALLOCA - #ifdef _WIN32 - #include - #else - #include - #endif - #define SPRITEBATCH_ALLOCA(ctx, size) alloca(size) -#endif - #ifndef SPRITEBATCH_LOG #if 0 #define SPRITEBATCH_LOG printf