Cleanup for the last checkin
authorSam Lantinga <slouken@libsdl.org>
Mon, 28 Aug 2006 03:27:59 +0000
changeset 1986 f4c65e3bfaed
parent 1985 8055185ae4ed
child 1987 36a08379b3f2
Cleanup for the last checkin
include/SDL_video.h
src/video/SDL_renderer_gl.c
--- 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