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

Small tweaks and addressing some warnings on tychedelia's awesome work in #940 #2

Merged
merged 4 commits into from
Jan 17, 2024

Conversation

mitchmindtree
Copy link

As the title mentions, just some small tweaks and addressing some warnings for https://github.com/nannou-org/nannou/pull/940/files. cc @tychedelia

@tychedelia tychedelia self-requested a review January 17, 2024 04:10
Copy link
Owner

@tychedelia tychedelia left a comment

Choose a reason for hiding this comment

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

tyyy!~! i was being lazy about these, we might want to add a ci check for no warnings

@@ -82,7 +82,7 @@ pub struct Renderer {
glyph_cache_texture: wgpu::Texture,
depth_texture: wgpu::Texture,
depth_texture_view: wgpu::TextureView,
default_texture: wgpu::Texture,
_default_texture: wgpu::Texture,
Copy link
Owner

Choose a reason for hiding this comment

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

probably should just be removed?

Copy link
Author

Choose a reason for hiding this comment

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

Yeah I was thinking this, though I couldn't quite recall if we had to keep them in memory and if their behaviour changes if they're dropped earlier e.g. 🤔 I guess we wouldn't get these warnings if they had a Drop implementation? But I'm not 100% certain of that 😅

@tychedelia tychedelia merged commit 1fba132 into tychedelia:master Jan 17, 2024
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