Skip to content

Render pass with no attachments causes subtraction underflow. #278

@sadmac7000

Description

@sadmac7000

https://github.com/amethyst/rendy/blob/master/graph/src/node/render/pass.rs#L718

The subtraction here underflows when attachments.len() == 0. This causes a crash in developer mode.

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