static bool GDXError(int i, string s) { string msg = string.Empty; gdx.gdxErrorStr(i, ref msg); Console.WriteLine(s + "failed: " + msg); return(false); }
static void ReportGDXError() { string S = string.Empty; Console.WriteLine("**** Fatal GDX Error"); gdx.gdxErrorStr(gdx.gdxGetLastError(), ref S); Console.WriteLine("**** " + S); Environment.Exit(1); }