• Show log

    Commit

  • Hash : de3d381c
    Author : Sam Lantinga
    Date : 2014-08-17T14:44:53

    Fixed bug 2685 - SDL_RenderReadPixels() doesn't work with offscreen targets
    
    Andreas Falkenhahn
    
    SDL_RenderReadPixels() doesn't seem to work when trying to read pixels from a texture that has been created using SDL_TEXTUREACCESS_TARGET and has been selected as the render target using SDL_SetRenderTarget().
    
    I am attaching a small program that demonstrates the issue. I get the following result here:
    
    READ PIXEL RETURN: 0 --- COLOR CHECK: ff000000
    
    But it should be:
    
    READ PIXEL RETURN: 0 --- COLOR CHECK: ffff0000
    
    Tested with SDL 2.0.3 on Windows 7.
    

  • 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