changeset 1986:f4c65e3bfaed

Cleanup for the last checkin
author Sam Lantinga <slouken@libsdl.org>
date Mon, 28 Aug 2006 03:27:59 +0000
parents 8055185ae4ed
children 36a08379b3f2
files include/SDL_video.h src/video/SDL_renderer_gl.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
 
 /**
--- 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