Skip to content

Commit

Permalink
Fix SdlContext throwing for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey authored Dec 30, 2024
1 parent 816377b commit 9729e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/SDL/SDL/SdlContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9729e81

Please sign in to comment.