Mac and Linux SDL2 binary snapshots
Edward Rudd
2019-04-09 9cd2e9ec8fc0127393dfce9c0359d500c8c238be
source/src/video/SDL_surface.c
@@ -37,7 +37,7 @@
/*
 * Calculate the pad-aligned scanline width of a surface
 */
int
static int
SDL_CalculatePitch(Uint32 format, int width)
{
    int pitch;
@@ -292,6 +292,20 @@
    return 0;
}
SDL_bool
SDL_HasColorKey(SDL_Surface * surface)
{
    if (!surface) {
        return SDL_FALSE;
    }
    if (!(surface->map->info.flags & SDL_COPY_COLORKEY)) {
        return SDL_FALSE;
    }
   return SDL_TRUE;
}
int
SDL_GetColorKey(SDL_Surface * surface, Uint32 * key)
{