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

Why map a view of the entire section and copy image there? #5

Closed
qinghao1 opened this issue Mar 6, 2021 · 1 comment
Closed

Why map a view of the entire section and copy image there? #5

qinghao1 opened this issue Mar 6, 2021 · 1 comment

Comments

@qinghao1
Copy link

qinghao1 commented Mar 6, 2021

Step 4 of the implementation says "The remap routine maps a view of the entire section and copies the contents of the image to the view. This view is then unmapped.".

Why is this necessary? I took out this logic in the code and the program crashed with a memory access violation.

Could you explain what this step accomplishes? I'm a beginner at this. Thank you very much.

@qinghao1 qinghao1 closed this as completed Mar 6, 2021
@ShamaIow
Copy link

Fix of "memory access violation" ??

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

No branches or pull requests

2 participants