Error with invalid device or vendor values

This commit is contained in:
Marc Di Luzio
2019-01-31 18:25:46 +00:00
parent cee2351c55
commit fe9b5c8744
3 changed files with 25 additions and 5 deletions

View File

@@ -41,8 +41,8 @@ enum GPUVendor {
/* Storage for GPU info*/
struct GameModeGPUInfo {
enum GPUVendor vendor;
int device; /* path to device, ie. /sys/class/drm/card#/ */
long vendor;
long device; /* path to device, ie. /sys/class/drm/card#/ */
long core; /* Core clock to apply */
long mem; /* Mem clock to apply */