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

ToWriteableBitmap and AddDirtyRect #584

Closed
bjarteskogoy opened this issue Dec 11, 2018 · 0 comments
Closed

ToWriteableBitmap and AddDirtyRect #584

bjarteskogoy opened this issue Dec 11, 2018 · 0 comments

Comments

@bjarteskogoy
Copy link

bjarteskogoy commented Dec 11, 2018

I believe it would be preferable if this section:

also called AddDirtyRect before unlocking.

If the backbuffer is updated directly, rendering is not updated. This is inconsistent with the behavior of WritePixels and there is no way to know, outside of the method, which update method was chosen.

@shimat shimat mentioned this issue Dec 19, 2018
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

1 participant