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

functions are hidden if DONUT_WITH_TASKFLOW is not defined #10

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

BlurryLight
Copy link
Contributor

Two functions LoadTextureFromMemory and LoadTextureFromMemoryDeferred are not related to Taskflow, but they are wrongly declared inside DONUT_WITH_TASKFLOW macro scope.
That means, if DONUT_WITH_TASKFLOW is not defined and an program actually used these functions, linker complains for undefined symbols.

In this PR, I move the two functions outside the scope(although git diff gives weired diff preview).
Besides, I put the declarations of the LoadTextureFromFileAsync and LoadTextureFromMemoryAsync functions in the header file together because they both are related to taskflow.

@github-actions
Copy link

github-actions bot commented Jul 10, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@BlurryLight
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@BlurryLight
Copy link
Contributor Author

recheck

@apanteleev apanteleev merged commit e053410 into NVIDIAGameWorks:main Feb 17, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 17, 2024
@apanteleev
Copy link
Contributor

Merged, thank you - and sorry it took so long, I missed this PR when it came in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants