diff --git a/sources/SDL/SDL/SdlContext.cs b/sources/SDL/SDL/SdlContext.cs index 47d4e095d8..889c02a262 100644 --- a/sources/SDL/SDL/SdlContext.cs +++ b/sources/SDL/SDL/SdlContext.cs @@ -113,7 +113,7 @@ public void SwapInterval(int interval) => private void Expect(int ec, string action) { - if (ec is 0) + if (ec is 1) { return; }