Fixed compile warnings about uninitialized variables in test library.
Found by buildbot.
This commit is contained in:
parent
212422e038
commit
9f87b9b8da
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface,
|
||||||
int bpp, bpp_reference;
|
int bpp, bpp_reference;
|
||||||
Uint8 *p, *p_reference;
|
Uint8 *p, *p_reference;
|
||||||
int dist;
|
int dist;
|
||||||
int sampleErrorX, sampleErrorY, sampleDist;
|
int sampleErrorX = 0, sampleErrorY = 0, sampleDist = 0;
|
||||||
Uint8 R, G, B, A;
|
Uint8 R, G, B, A;
|
||||||
Uint8 Rd, Gd, Bd, Ad;
|
Uint8 Rd, Gd, Bd, Ad;
|
||||||
char imageFilename[128];
|
char imageFilename[128];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue