|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
| 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.
См. определение в файле 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. |