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

More crashfix/leakfix attempts #18243

Merged
merged 6 commits into from
Sep 26, 2023
Merged

More crashfix/leakfix attempts #18243

merged 6 commits into from
Sep 26, 2023

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Sep 25, 2023

Tries to solve even more stuff seen in crash reports and in the mystery thread #18116 .

This includes a fix for a bizarre bug in OpenGL hardware tessellation where we were rapidly leaking texture data..

@hrydgard hrydgard added this to the v1.16.5 milestone Sep 25, 2023
@@ -521,7 +521,7 @@ void TessellationDataTransferGLES::SendDataToShader(const SimpleVertex *const *p
if (prevSizeU < size_u || prevSizeV < size_v) {
prevSizeU = size_u;
prevSizeV = size_v;
if (!data_tex[0])
if (data_tex[0])
renderManager_->DeleteTexture(data_tex[0]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like my mistake in #16078, not quite that old. Oops.

-[Unknown]

@hrydgard hrydgard merged commit d3cd065 into master Sep 26, 2023
18 checks passed
@hrydgard hrydgard deleted the assorted-fixes-11 branch September 26, 2023 07:24
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 this pull request may close these issues.

None yet

2 participants