Skip to content

Commit

Permalink
Common: Add current GPU renderer in the Specs info
Browse files Browse the repository at this point in the history
  • Loading branch information
julianxhokaxhiu committed Mar 23, 2024
1 parent efcc69b commit 4e5c16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ void ffnx_log_current_pc_specs()
for (auto& gpu : gpus) {
uint16_t vendorId = std::stoi(gpu.vendor_id(), 0, 16), deviceId = std::stoi(gpu.device_id(), 0, 16);
if (newRenderer.getCaps()->vendorId == vendorId && newRenderer.getCaps()->deviceId == deviceId)
ffnx_info("GPU: %s (%dMB) - Driver: %s\n", gpu.name().c_str(), (int)(gpu.memory_Bytes() / 1024.0 / 1024.0), gpu.driverVersion().c_str());
ffnx_info("GPU: %s (%dMB) - Driver: %s - Backend: %s\n", gpu.name().c_str(), (int)(gpu.memory_Bytes() / 1024.0 / 1024.0), gpu.driverVersion().c_str(), newRenderer.currentRenderer.c_str());
}

// RAM
Expand Down

0 comments on commit 4e5c16d

Please sign in to comment.