• Show log

    Commit

  • Hash : 87894224
    Author : Sam Lantinga
    Date : 2017-12-12T16:34:16

    Fixed bug 3981 - Inverted logic bug in SDL_renderer "overscan" feature
    
    Eric wing
    
    There is a tiny bug in the new overscan code for the SDL_renderer.
    
    In SDL_renderer.c, line 1265, the if check for SDL_strcasecmp with "direct3d" needs to be inverted.
    
    Instead of:
    if(SDL_strcasecmp("direct3d", SDL_GetCurrentVideoDriver())) {
    
    It should be:
    if(0 == SDL_strcasecmp("direct3d", SDL_GetCurrentVideoDriver())) {
    
    This bug causes the "overscan" mode to pretty much be completely ignored in all cases and all things remain letterboxed (as before the feature).
    

  • 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
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    https://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)