src/video/SDL_surface.c
changeset 12590 b50bedb4bca0
parent 12589 85bc5436a005
child 12591 66cd8731c3b1
equal deleted inserted replaced
12589:85bc5436a005 12590:b50bedb4bca0
    24 #include "SDL_sysvideo.h"
    24 #include "SDL_sysvideo.h"
    25 #include "SDL_blit.h"
    25 #include "SDL_blit.h"
    26 #include "SDL_RLEaccel_c.h"
    26 #include "SDL_RLEaccel_c.h"
    27 #include "SDL_pixels_c.h"
    27 #include "SDL_pixels_c.h"
    28 #include "SDL_yuv_c.h"
    28 #include "SDL_yuv_c.h"
    29 #include "../../cpuinfo/SDL_simd.h"
    29 #include "../cpuinfo/SDL_simd.h"
    30 
    30 
    31 
    31 
    32 /* Check to make sure we can safely check multiplication of surface w and pitch and it won't overflow size_t */
    32 /* Check to make sure we can safely check multiplication of surface w and pitch and it won't overflow size_t */
    33 SDL_COMPILE_TIME_ASSERT(surface_size_assumptions,
    33 SDL_COMPILE_TIME_ASSERT(surface_size_assumptions,
    34     sizeof(int) == sizeof(Sint32) && sizeof(size_t) >= sizeof(Sint32));
    34     sizeof(int) == sizeof(Sint32) && sizeof(size_t) >= sizeof(Sint32));