GPU: Add Dummy Backend For Unsupported Platforms #110919

Merged
Jeroen Bakker merged 10 commits from Jeroen-Bakker/blender:gpu/dummy-backend into main 2023-08-15 14:15:18 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit fab9fde12c - Show all commits

View File

@ -2028,10 +2028,10 @@ GHOST_TSuccess GHOST_SystemCocoa::showMessageBox(const char *title,
NSString *continueString = [NSString stringWithCString:continue_label];
NSString *helpString = [NSString stringWithCString:help_label];
if (dialog_options == GHOST_DialogError) {
if (dialog_options & GHOST_DialogError) {
[alert setAlertStyle:NSAlertStyleCritical];
}
else if (dialog_options == GHOST_DialogWarning) {
else if (dialog_options & GHOST_DialogWarning) {
[alert setAlertStyle:NSAlertStyleWarning];
}
else {