this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rearranged includes for renderer_GL_common.inl.

+12 -14
+12 -14
src/renderer_GL_common.inl
··· 2 2 See a particular renderer's *.c file for specifics. */ 3 3 4 4 5 + #include <stdlib.h> 6 + #include "SDL_platform.h" 7 + #include <math.h> 8 + #include <string.h> 9 + 10 + #include "stb_image.h" 11 + #include "stb_image_write.h" 12 + 13 + #ifndef M_PI 14 + #define M_PI 3.14159265358979323846 15 + #endif 16 + 5 17 // Visual C does not support static inline 6 18 #ifndef static_inline 7 19 #ifdef _MSC_VER ··· 42 54 43 55 int gpu_strcasecmp(const char* s1, const char* s2); 44 56 45 - #include "SDL_platform.h" 46 - 47 - #include "stb_image.h" 48 - #include "stb_image_write.h" 49 - 50 57 51 58 // Forces a flush when vertex limit is reached (roughly 1000 sprites) 52 59 #define GPU_BLIT_BUFFER_VERTICES_PER_SPRITE 4 ··· 69 76 #define GPU_BLIT_BUFFER_COLOR_OFFSET 4 70 77 71 78 72 - #include <math.h> 73 - #include <string.h> 74 79 75 - #ifndef _MSC_VER 76 - #include <strings.h> 77 - #endif 78 - 79 - #ifndef M_PI 80 - #define M_PI 3.14159265358979323846 81 - #endif 82 80 83 81 84 82 #ifdef SDL_GPU_USE_SDL2