Skip to content

Commit c754542

Browse files
FitzerIRLMichael Fiess
authored andcommitted
AddRef() - Fix for compailation failed case. (#1989)
* AddRef() - Fix for compailation failed case. * Revert .shaders version 2 -> 1 * Quieter * Fixes for Shader Compilation failures * Changes per PR review. * Fix for Data/File mix permutations
1 parent 9bb696d commit c754542

File tree

3 files changed

+198
-185
lines changed

3 files changed

+198
-185
lines changed

examples/pxScene2d/src/pxResource.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ void pxResource::processDownloadedResource(rtFileDownloadRequest* fileDownloadRe
858858
setLoadStatus("httpStatusCode",(uint32_t)fileDownloadRequest->httpStatusCode());
859859
if (gUIThreadQueue)
860860
{
861-
gUIThreadQueue->addTask(pxResource::onDownloadCanceledUI, this, (void*)"reject");
861+
gUIThreadQueue->addTask(onDownloadCanceledUI, this, (void*)"reject");
862862
}
863863
}
864864
else if (fileDownloadRequest->downloadStatusCode() == 0 &&
@@ -901,7 +901,7 @@ void pxResource::processDownloadedResource(rtFileDownloadRequest* fileDownloadRe
901901
// TODO review overall flow and organization
902902
if (gUIThreadQueue)
903903
{
904-
gUIThreadQueue->addTask(pxResource::onDownloadCompleteUI, this, (void*)"reject");
904+
gUIThreadQueue->addTask(onDownloadCompleteUI, this, (void*)"reject");
905905
}
906906
}
907907
else if (result == PX_RESOURCE_LOAD_SUCCESS)
@@ -916,7 +916,7 @@ void pxResource::processDownloadedResource(rtFileDownloadRequest* fileDownloadRe
916916
// TODO review overall flow and organization
917917
if (gUIThreadQueue)
918918
{
919-
gUIThreadQueue->addTask(pxResource::onDownloadCompleteUI, this, (void*)"resolve");
919+
gUIThreadQueue->addTask(onDownloadCompleteUI, this, (void*)"resolve");
920920
}
921921
}
922922
}
@@ -933,7 +933,7 @@ void pxResource::processDownloadedResource(rtFileDownloadRequest* fileDownloadRe
933933
// TODO review overall flow and organization
934934
if (gUIThreadQueue)
935935
{
936-
gUIThreadQueue->addTask(pxResource::onDownloadCompleteUI, this, (void*)"reject");
936+
gUIThreadQueue->addTask(onDownloadCompleteUI, this, (void*)"reject");
937937
}
938938
}
939939
}

0 commit comments

Comments
 (0)