client: fix bug in GPU detection

This commit is contained in:
David Anderson 2015-11-25 13:39:24 -08:00
parent e30de9c2dd
commit b0a02bb128
1 changed files with 3 additions and 3 deletions

View File

@ -403,7 +403,7 @@ void COPROC_NVIDIA::clear() {
prop.textureAlignment = 0;
prop.deviceOverlap = 0;
prop.multiProcessorCount = 0;
is_used = COPROC_UNUSED;
is_used = COPROC_USED;
}
int COPROC_NVIDIA::parse(XML_PARSER& xp) {
@ -656,7 +656,7 @@ void COPROC_ATI::clear() {
memset(&attribs, 0, sizeof(attribs));
memset(&info, 0, sizeof(info));
version_num = 0;
is_used = COPROC_UNUSED;
is_used = COPROC_USED;
}
int COPROC_ATI::parse(XML_PARSER& xp) {
@ -845,7 +845,7 @@ void COPROC_INTEL::clear() {
strcpy(name, "");
strcpy(version, "");
global_mem_size = 0;
is_used = COPROC_UNUSED;
is_used = COPROC_USED;
}
int COPROC_INTEL::parse(XML_PARSER& xp) {