SDL 2.0
|
Go to the source code of this file.
Functions | |
int | SDLTest_CompareSurfaces (SDL_Surface *surface, SDL_Surface *referenceSurface, int allowable_error) |
Compares a surface and with reference image data for equality. | |
Include file for SDL test framework.
This code is a part of the SDL2_test library, not the main SDL library.
Definition in file SDL_test_compare.h.
int SDLTest_CompareSurfaces | ( | SDL_Surface * | surface, |
SDL_Surface * | referenceSurface, | ||
int | allowable_error | ||
) |
Compares a surface and with reference image data for equality.
surface | Surface used in comparison |
referenceSurface | Test Surface used in comparison |
allowable_error | Allowable difference (=sum of squared difference for each RGB component) in blending accuracy. |