Skip to content

Surface width and height must be non-zero #582

@LemonsSquirrel

Description

@LemonsSquirrel

I think i know why the error is showing but i can't seem to fix it, or at least i don't know how.
The error is set off when i'm minimizing the window in any way.
I think it's the event loop not allowing for sizes of 0 when looking for Surface width and height to draw but how can i prevent that, i'm a bit stumped here.
The error: https://gist.github.com/LemonsSquirrel/9c11f1cf24356549d5b0212150d239c0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions