mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-30 13:28:13 +08:00
Removed invalid assert in testatomic
(cherry picked from commit 8adab0b88a)
This commit is contained in:
+2
-1
@@ -234,7 +234,8 @@ static void RunEpicTest()
|
|||||||
v = SDL_AtomicGet(&good);
|
v = SDL_AtomicGet(&good);
|
||||||
SDL_Log("Atomic %d Non-Atomic %d\n", v, bad);
|
SDL_Log("Atomic %d Non-Atomic %d\n", v, bad);
|
||||||
SDL_assert(v == Expect);
|
SDL_assert(v == Expect);
|
||||||
SDL_assert(bad != Expect);
|
/* We can't guarantee that bad != Expect, this would happen on a single core system, for example. */
|
||||||
|
/*SDL_assert(bad != Expect);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* End atomic operation test */
|
/* End atomic operation test */
|
||||||
|
|||||||
Reference in New Issue
Block a user