Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compile warnings with Visual C++
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 12, 2007
1 parent 1b25d88 commit 6fa76ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/SDL_compat.c
Expand Up @@ -704,7 +704,6 @@ SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects)
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) {
Expand Down
1 change: 1 addition & 0 deletions src/video/dummy/SDL_nullrender.c
Expand Up @@ -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"


Expand Down
1 change: 1 addition & 0 deletions test/testgl2.c
Expand Up @@ -300,6 +300,7 @@ main(int argc, char *argv[])
((double) frames * 1000) / (now - then));
}
quit(0);
return 0;
}

#else /* HAVE_OPENGL */
Expand Down

0 comments on commit 6fa76ba

Please sign in to comment.