Skip to content

Mupen-owned D2D brushes #586

@Aurumaker72

Description

@Aurumaker72

Rationale

Having Lua-owned D2D brushes was a terrible idea. They're easy to leak, caching them involves Lua-side tables and lookups... Terrible.

Proposal Summary

Mupen should own D2D brushes and lend lightuserdata to Lua.

Open Questions

No response

Technical Considerations

This change sounds like it's breaking, but it doesn't have to be. We can just stub out d2d.delete_brush.

Is it worth doing it like that, or should we break the D2D API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue describes unexpected behaviour.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions