Skip to content
This repository was archived by the owner on Sep 7, 2019. It is now read-only.
This repository was archived by the owner on Sep 7, 2019. It is now read-only.

Fix Surface ctors which use other surfaces #5

@KadinTucker

Description

@KadinTucker

Surfaces constructed using the overloads taking in other surfaces, https://github.com/SaurabhTotey/d2d/blob/master/source/d2d/sdl2/Surface.d#L143-L157 and https://github.com/SaurabhTotey/d2d/blob/master/source/d2d/sdl2/Surface.d#L167-L172, do not work as intended as rather than creating a copy of the surface they use the same surface as passed by reference. This should be fixed so that copying surfaces is a possibility.

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