diff src/video/SDL_renderer_gl.c @ 3440:e9502d56ae94

Added missing return values
author Sam Lantinga <slouken@libsdl.org>
date Tue, 17 Nov 2009 06:50:29 +0000
parents 9f62f47d989b
children 7f477a22dff5
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