Skip to content

Conversation

@postcasio
Copy link
Contributor

Free memory for int and float array uniforms when the uniform or shader is destroyed.

Free memory for int and float array uniforms when the uniform or shader is destroyed.
Copy link
Member

@fatcerberus fatcerberus left a comment

Choose a reason for hiding this comment

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

Just a couple minor style complaints; the change looks right to me otherwise.

Copy link
Member

@fatcerberus fatcerberus left a comment

Choose a reason for hiding this comment

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

Seems good for now. I'll see if I can find a way to get rid of the code duplication some other time Thanks for finding the memory leak, kind of a silly oversight on my part.

@fatcerberus fatcerberus merged commit aaea613 into spheredev:master Nov 18, 2020
fatcerberus pushed a commit that referenced this pull request Nov 22, 2020
Free memory for int and float array uniforms when the uniform or shader
is destroyed.
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.

2 participants