disable deviceid check for now

gamescope-debug
FlightlessMango 2 years ago
parent 4556caf6d3
commit c708b1a8a8

@ -594,10 +594,10 @@ void init_gpu_stats(uint32_t& vendorID, uint32_t reported_deviceID, overlay_para
if ((fp = fopen(device.c_str(), "r"))){
fscanf(fp, "%s", str);
uint32_t temp = strtol(str, NULL, 16);
if (temp != reported_deviceID && deviceID != 0){
SPDLOG_DEBUG("DeviceID does not match vulkan report {}", reported_deviceID);
continue;
}
// if (temp != reported_deviceID && deviceID != 0){
// SPDLOG_DEBUG("DeviceID does not match vulkan report {}", reported_deviceID);
// continue;
// }
deviceID = temp;
fclose(fp);
}

Loading…
Cancel
Save