--- a/src/SDL_compat.c Sat Aug 11 23:26:03 2007 +0000
+++ b/src/SDL_compat.c Sun Aug 12 00:01:41 2007 +0000
@@ -704,7 +704,6 @@
SDL_DirtyTexture(SDL_VideoTexture, numrects, rects);
} else {
/* The surface memory needs to be copied to texture */
- void *pixels;
int pitch = screen->pitch;
int psize = screen->format->BytesPerPixel;
for (i = 0; i < numrects; ++i) {
--- a/src/video/dummy/SDL_nullrender.c Sat Aug 11 23:26:03 2007 +0000
+++ b/src/video/dummy/SDL_nullrender.c Sun Aug 12 00:01:41 2007 +0000
@@ -24,6 +24,7 @@
#include "SDL_video.h"
#include "../SDL_sysvideo.h"
#include "../SDL_yuv_sw_c.h"
+#include "../SDL_renderer_sw.h"
#include "../SDL_rendercopy.h"
--- a/test/testgl2.c Sat Aug 11 23:26:03 2007 +0000
+++ b/test/testgl2.c Sun Aug 12 00:01:41 2007 +0000
@@ -300,6 +300,7 @@
((double) frames * 1000) / (now - then));
}
quit(0);
+ return 0;
}
#else /* HAVE_OPENGL */