MSVC building fixes

pull/496/head
FlightlessMango 3 years ago
parent 8b2255b35c
commit 6286313478

@ -68,8 +68,7 @@ void update_hw_info(struct swapchain_stats& sw_stats, struct overlay_params& par
#ifdef _WIN32
float memused = 0;
#endif
graph_data.push_back({0, 0, cpuStats.GetCPUDataTotal().percent, gpu_info.load, cpuStats.GetCPUDataTotal().temp,
gpu_info.temp, gpu_info.CoreClock, gpu_info.MemClock, gpu_info.memoryUsed, memused});
graph_data.push_back(currentLogData);
logger->notify_data_valid();
HUDElements.update_exec();
}

@ -1804,10 +1804,12 @@ static VkResult overlay_CreateSwapchainKHR(
std::string deviceName = prop.deviceName;
if (!is_blacklisted()) {
#ifdef __gnu_linux__
parse_pciids();
get_device_name(prop.vendorID, prop.deviceID, swapchain_data->sw_stats);
init_gpu_stats(device_data->properties.vendorID, device_data->instance->params);
init_system_info();
#endif
init_gpu_stats(device_data->properties.vendorID, device_data->instance->params);
}
if(driverProps.driverID == VK_DRIVER_ID_NVIDIA_PROPRIETARY){
swapchain_data->sw_stats.driverName = "NVIDIA";

Loading…
Cancel
Save