Cleanup for the last checkin
authorSam Lantinga <slouken@libsdl.org>
Mon, 28 Aug 2006 03:27:59 +0000
changeset 1986f4c65e3bfaed
parent 1985 8055185ae4ed
child 1987 36a08379b3f2
Cleanup for the last checkin
include/SDL_video.h
src/video/SDL_renderer_gl.c
     1.1 --- a/include/SDL_video.h	Mon Aug 28 03:17:39 2006 +0000
     1.2 +++ b/include/SDL_video.h	Mon Aug 28 03:27:59 2006 +0000
     1.3 @@ -176,7 +176,7 @@
     1.4      SDL_RENDERER_PRESENTFLIP3 = 0x00000008,     /**< Present uses a flip, rotating between two back buffers and a front buffer */
     1.5      SDL_RENDERER_PRESENTDISCARD = 0x00000010,   /**< Present leaves the contents of the backbuffer undefined */
     1.6      SDL_RENDERER_PRESENTVSYNC = 0x00000020,     /**< Present is synchronized with the refresh rate */
     1.7 -    SDL_RENDERER_ACCELERATED = 0x0000040,       /**< The renderer uses hardware acceleration */
     1.8 +    SDL_RENDERER_ACCELERATED = 0x00000040,      /**< The renderer uses hardware acceleration */
     1.9  } SDL_RendererFlags;
    1.10  
    1.11  /**
     2.1 --- a/src/video/SDL_renderer_gl.c	Mon Aug 28 03:17:39 2006 +0000
     2.2 +++ b/src/video/SDL_renderer_gl.c	Mon Aug 28 03:27:59 2006 +0000
     2.3 @@ -587,13 +587,13 @@
     2.4  static int
     2.5  GL_SetTextureColorMod(SDL_Renderer * renderer, SDL_Texture * texture)
     2.6  {
     2.7 -    return -1;
     2.8 +    return 0;
     2.9  }
    2.10  
    2.11  static int
    2.12  GL_SetTextureAlphaMod(SDL_Renderer * renderer, SDL_Texture * texture)
    2.13  {
    2.14 -    return -1;
    2.15 +    return 0;
    2.16  }
    2.17  
    2.18  static int