Improved API consistency for flag data types
Flag data types are always unsigned and have the valid values following the typedef.
This commit is contained in:
1 parent
1d2b00efe1
commit
aecb62e30d
12 files changed
+154
-168
No files matched your search
@@ -56,7 +56,7 @@ static void surfaceSetUp(void *arg)
|
||||
SDLTest_AssertCheck(result == 0, "Validate result from SDL_SetSurfaceBlendMode, expected: 0, got: %i", result);
|
||||
result = SDL_GetSurfaceBlendMode(testSurface, ¤tBlendMode);
|
||||
SDLTest_AssertCheck(result == 0, "Validate result from SDL_GetSurfaceBlendMode, expected: 0, got: %i", result);
|
||||
SDLTest_AssertCheck(currentBlendMode == blendMode, "Validate blendMode, expected: %i, got: %i", blendMode, currentBlendMode);
|
||||
SDLTest_AssertCheck(currentBlendMode == blendMode, "Validate blendMode, expected: %" SDL_PRIu32 ", got: %" SDL_PRIu32, blendMode, currentBlendMode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user