From 9729e81dff957f51d09f328aa6c8a858e5904882 Mon Sep 17 00:00:00 2001 From: Dylan Perks <11160611+Perksey@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:07:02 +0000 Subject: [PATCH] Fix SdlContext throwing for errors --- sources/SDL/SDL/SdlContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }