GL: Fix shader error logging on Apple M1 hardware
This commit is contained in:
@@ -39,7 +39,8 @@ char *GLLogParser::parse_line(char *log_line, GPULogItem &log_item)
|
||||
|
||||
if ((log_item.cursor.row != -1) && (log_item.cursor.column != -1)) {
|
||||
if (GPU_type_matches(GPU_DEVICE_NVIDIA, GPU_OS_ANY, GPU_DRIVER_OFFICIAL) ||
|
||||
GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_MAC, GPU_DRIVER_OFFICIAL)) {
|
||||
GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_MAC, GPU_DRIVER_OFFICIAL) ||
|
||||
GPU_type_matches(GPU_DEVICE_APPLE, GPU_OS_MAC, GPU_DRIVER_OFFICIAL)) {
|
||||
/* 0:line */
|
||||
log_item.cursor.row = log_item.cursor.column;
|
||||
log_item.cursor.column = -1;
|
||||
|
Reference in New Issue
Block a user