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

RenderInRenderTarget doesn't restore state properly #5476

Open
metalgearsloth opened this issue Oct 1, 2024 · 0 comments
Open

RenderInRenderTarget doesn't restore state properly #5476

metalgearsloth opened this issue Oct 1, 2024 · 0 comments

Comments

@metalgearsloth
Copy link
Contributor

So there's render target and bound render target. RenderInRenderTarget restores both fields to the boundrendertarget (via BindTargetFull) which means if you had an existing rendertarget it would get bulldozed.

AFAIK the only area this has ever been an issue was when I added an overlay draw into the lighting drawing. I got a fix in the works unless it gets fixed on master before then.

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

Successfully merging a pull request may close this issue.

1 participant