Skip to content

Trying, and failing, to create a simple texture creation teste. #339

Answered by TheMostDiligent
bill-call asked this question in Q&A
Discussion options

You must be logged in to vote

You are missing synchronization between CPU and GPU: you map the texture before the data is actually copied to it.

Add pContext->WaitForIdle() right before pContext->MapTextureSubresource

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bill-call
Comment options

@TheMostDiligent
Comment options

@bill-call
Comment options

Answer selected by bill-call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants