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
{{ message }}
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
With the addition of DMA buffers (and probably output damage later) there needs to be pointers from the renderer living elsewhere. Since the renderer is optional, it is publically acessible as an Option<GenericRenderer> so at any time the user could destroy it by storing a None in there. Not good if we don't want dangling pointers.
To get around this we will need to add getters so that it's impossible to set the renderer after creation.
The text was updated successfully, but these errors were encountered:
With the addition of DMA buffers (and probably output damage later) there needs to be pointers from the renderer living elsewhere. Since the renderer is optional, it is publically acessible as an
Option<GenericRenderer>
so at any time the user could destroy it by storing aNone
in there. Not good if we don't want dangling pointers.To get around this we will need to add getters so that it's impossible to set the renderer after creation.
The text was updated successfully, but these errors were encountered: