mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-26 00:18:36 +00:00
Fix the GPU Platform fix
This commit is contained in:
parent
04e5ad2d54
commit
700ed7dba7
@ -12294,10 +12294,14 @@ int main (int argc, char **argv)
|
||||
|
||||
return (-1);
|
||||
}
|
||||
|
||||
// user does not count with zero
|
||||
|
||||
CL_platform_sel -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
cl_platform_id CL_platform = CL_platforms[CL_platform_sel - 1];
|
||||
cl_platform_id CL_platform = CL_platforms[CL_platform_sel];
|
||||
|
||||
char CL_platform_vendor[INFOSZ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user