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

LazyFoo lesson 7 and others: doesn't the texture need to be destroyed? #202

Open
kenranunderscore opened this issue Aug 11, 2019 · 0 comments
Labels

Comments

@kenranunderscore
Copy link

kenranunderscore commented Aug 11, 2019

I'm not sure if this is just an oversight or even unnecessary in Haskell sdl2, but the original tutorial calls SDL_DestroyTexture once it's done with everything, while the Haskell implementation of this lesson does not do so. In case it should be there, the same goes for most of the following LazyFoo lesson examples.

To compare, the twinklebear code calls destroyTexture before destroying the renderer and window.

@kenranunderscore kenranunderscore changed the title LazyFoo lesson 7: doesn't the texture need to be destroyed? LazyFoo lesson 7 and others: doesn't the texture need to be destroyed? Aug 11, 2019
@dpwiz dpwiz added the bug label Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants