Skip to content

Force texture sizes to be powers of two #579

@BrentDaMage

Description

@BrentDaMage

Add ImageData::sanitizeSize() to size the texture accordingly by adding empty additional empty pixel data.
This will allow said textures to be rendered on GPUs which require textures to be sized to a power of two.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions