# HG changeset patch # User Sam Lantinga # Date 1156735679 0 # Node ID f4c65e3bfaed386bda463bedb7e1d59b8365505f # Parent 8055185ae4ed6648a6e0a117844fa1890644b8c0 Cleanup for the last checkin diff -r 8055185ae4ed -r f4c65e3bfaed include/SDL_video.h --- a/include/SDL_video.h Mon Aug 28 03:17:39 2006 +0000 +++ b/include/SDL_video.h Mon Aug 28 03:27:59 2006 +0000 @@ -176,7 +176,7 @@ SDL_RENDERER_PRESENTFLIP3 = 0x00000008, /**< Present uses a flip, rotating between two back buffers and a front buffer */ SDL_RENDERER_PRESENTDISCARD = 0x00000010, /**< Present leaves the contents of the backbuffer undefined */ SDL_RENDERER_PRESENTVSYNC = 0x00000020, /**< Present is synchronized with the refresh rate */ - SDL_RENDERER_ACCELERATED = 0x0000040, /**< The renderer uses hardware acceleration */ + SDL_RENDERER_ACCELERATED = 0x00000040, /**< The renderer uses hardware acceleration */ } SDL_RendererFlags; /** diff -r 8055185ae4ed -r f4c65e3bfaed src/video/SDL_renderer_gl.c --- a/src/video/SDL_renderer_gl.c Mon Aug 28 03:17:39 2006 +0000 +++ b/src/video/SDL_renderer_gl.c Mon Aug 28 03:27:59 2006 +0000 @@ -587,13 +587,13 @@ static int GL_SetTextureColorMod(SDL_Renderer * renderer, SDL_Texture * texture) { - return -1; + return 0; } static int GL_SetTextureAlphaMod(SDL_Renderer * renderer, SDL_Texture * texture) { - return -1; + return 0; } static int