changeset 3440:e9502d56ae94

Added missing return values
author Sam Lantinga <slouken@libsdl.org>
date Tue, 17 Nov 2009 06:50:29 +0000
parents 0acec8c9f5c9
children 5271ce790fed
files src/video/SDL_renderer_gl.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_renderer_gl.c	Tue Nov 17 05:17:11 2009 +0000
+++ b/src/video/SDL_renderer_gl.c	Tue Nov 17 06:50:29 2009 +0000
@@ -1292,6 +1292,8 @@
         SDL_memcpy(src, tmp, length);
     }
     SDL_stack_free(tmp);
+
+    return 0;
 }
 
 static int
@@ -1321,6 +1323,8 @@
 
     data->glReadPixels(rect->x, rect->y+rect->h-1, rect->w, rect->h,
                        format, type, pixels);
+
+    return 0;
 }
 
 static void