• Show log

    Commit

  • Hash : 529ed53b
    Author : Sam Lantinga
    Date : 2014-08-16T23:30:44

    Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function
    
    Nitz
    
    In SDL_CreateTextureFromSurface:
    
    SDL_PixelFormat *dst_fmt;
    /* Set up a destination surface for the texture update */
             dst_fmt = SDL_AllocFormat(format);
                temp = SDL_ConvertSurface(surface, dst_fmt, 0);
    
    Here is need of NULL check for dst_fmt because there are chances of NULL return from SDL_AllocFormat(format);
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags