Added missing return values
authorSam Lantinga <slouken@libsdl.org>
Tue, 17 Nov 2009 06:50:29 +0000
changeset 3440 e9502d56ae94
parent 3439 0acec8c9f5c9
child 3441 5271ce790fed
Added missing return values
src/video/SDL_renderer_gl.c
--- 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