Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddRef() - Fix for compailation failed case. #1989

Merged
merged 6 commits into from
Aug 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/pxScene2d/src/pxResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ void pxResource::processDownloadedResource(rtFileDownloadRequest* fileDownloadRe
setLoadStatus("httpStatusCode",(uint32_t)fileDownloadRequest->httpStatusCode());
if (gUIThreadQueue)
{
gUIThreadQueue->addTask(pxResource::onDownloadCanceledUI, this, (void*)"reject");
gUIThreadQueue->addTask(onDownloadCanceledUI, this, (void*)"reject");
}
}
else if (fileDownloadRequest->downloadStatusCode() == 0 &&
Expand Down Expand Up @@ -901,7 +901,7 @@ void pxResource::processDownloadedResource(rtFileDownloadRequest* fileDownloadRe
// TODO review overall flow and organization
if (gUIThreadQueue)
{
gUIThreadQueue->addTask(pxResource::onDownloadCompleteUI, this, (void*)"reject");
gUIThreadQueue->addTask(onDownloadCompleteUI, this, (void*)"reject");
}
}
else if (result == PX_RESOURCE_LOAD_SUCCESS)
Expand All @@ -916,7 +916,7 @@ void pxResource::processDownloadedResource(rtFileDownloadRequest* fileDownloadRe
// TODO review overall flow and organization
if (gUIThreadQueue)
{
gUIThreadQueue->addTask(pxResource::onDownloadCompleteUI, this, (void*)"resolve");
gUIThreadQueue->addTask(onDownloadCompleteUI, this, (void*)"resolve");
}
}
}
Expand All @@ -933,7 +933,7 @@ void pxResource::processDownloadedResource(rtFileDownloadRequest* fileDownloadRe
// TODO review overall flow and organization
if (gUIThreadQueue)
{
gUIThreadQueue->addTask(pxResource::onDownloadCompleteUI, this, (void*)"reject");
gUIThreadQueue->addTask(onDownloadCompleteUI, this, (void*)"reject");
}
}
}
Expand Down
Loading