• 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

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    http://www.libsdl.org/
    
    Simple DirectMedia Layer is a cross-platform development library designed
    to provide low level access to audio, keyboard, mouse, joystick, and graphics
    hardware via OpenGL and Direct3D. It is used by video playback software,
    emulators, and popular games including Valve's award winning catalog
    and many Humble Bundle games.
    
    More extensive documentation is available in the docs directory, starting
    with README.md
    
    Enjoy!
    	Sam Lantinga				(slouken@libsdl.org)