compile fix

svn path=/trunk/boinc/; revision=26130
This commit is contained in:
David Anderson 2012-09-20 06:56:59 +00:00
parent b9f138b4f4
commit 0b429393a7
1 changed files with 2 additions and 4 deletions

View File

@ -2404,11 +2404,9 @@ wxString suspend_reason_wxstring(int reason) {
}
bool uses_gpu(RESULT* r) {
WORKUNIT* wup = r->workunit;
if (!wup) return false;
APP_VERSION* avp = wup->app_version;
APP_VERSION* avp = r->avp;
if (!avp) return false;
return (avp->gpu_count > 0);
return (avp->gpu_usage > 0);
}
wxString result_description(RESULT* result, bool show_resources) {