예제 #1
0
 public static void CheckError(this bool value)
 {
     Debug.Assert(value, Utf8.ToString(SDL.GetError()));
 }
예제 #2
0
 public static void CheckError(this SDL.Window value)
 {
     Debug.Assert(value != IntPtr.Zero, Utf8.ToString(SDL.GetError()));
 }