forked from amkovkov/GranuSightSoftware2
chore: move CameraView logic to itself
This commit is contained in:
@@ -11,7 +11,7 @@ public static class VulkanExtensions
|
||||
{
|
||||
public static void ThrowOnError(this Result result, [CallerMemberName] string callerMemberName = "", [CallerFilePath] string callerFilePath = "", [CallerLineNumber] int callerLineNumber = -1)
|
||||
{
|
||||
Console.WriteLine($"{callerFilePath} {callerMemberName} {callerLineNumber} {result}");
|
||||
// Console.WriteLine($"{callerFilePath} {callerMemberName} {callerLineNumber} {result}");
|
||||
if (result != Result.Success)
|
||||
throw new Exception($"Unexpected API error \"{result}\"");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user