mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
Remove the vendor config value in prep for it to be auto-detected
This commit is contained in:
@ -421,16 +421,15 @@ int run_gpu_optimisation_tests(struct GameModeConfig *config)
|
||||
/* Get current GPU values */
|
||||
GameModeGPUInfo gpuinfo;
|
||||
gpuinfo.device = config_get_gpu_device(config);
|
||||
gpuinfo.vendor = config_get_gpu_vendor(config);
|
||||
|
||||
if (gpuinfo.vendor == Vendor_NVIDIA)
|
||||
gpuinfo.nv_perf_level = config_get_nv_perf_level(config);
|
||||
|
||||
if (game_mode_get_gpu(&gpuinfo) != 0) {
|
||||
LOG_ERROR("Could not get current GPU info, see above!\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (gpuinfo.vendor == Vendor_NVIDIA)
|
||||
gpuinfo.nv_perf_level = config_get_nv_perf_level(config);
|
||||
|
||||
/* Store the original values */
|
||||
long original_core = gpuinfo.core;
|
||||
long original_mem = gpuinfo.mem;
|
||||
|
Reference in New Issue
Block a user