/// <summary> /// Construct a KhronosLogContext. /// </summary> /// <param name="khronoApiType"></param> public KhronosLogContext(Type khronoApiType) { QueryLogContext(khronoApiType); try { _LogMap = KhronosLogMap.Load(String.Format("OpenGL.KhronosLogMap{0}.xml", khronoApiType.Name)); } catch { /* Fail-safe */ } }
/// <summary> /// Construct a KhronosLogContext. /// </summary> /// <param name="khronoApiType"></param> public KhronosLogContext(Type khronoApiType) { QueryLogContext(khronoApiType); #if !NETCORE && !NETSTANDARD1_4 try { _LogMap = KhronosLogMap.Load(String.Format("OpenGL.KhronosLogMap{0}.xml", khronoApiType.Name)); } catch { /* Fail-safe */ } #endif }