You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
I'm not sure if this is just an oversight or even unnecessary in Haskell
sdl2
, but the original tutorial callsSDL_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.The text was updated successfully, but these errors were encountered: