Skip to content

Font.UpdateResources fails in debug mode #8

@mludlum

Description

@mludlum

In the SharpDevice constructor, the creation flags are cleared when debug = true. This causes a failure with the Font because it requires BgraSupport

I changed this

        if (debug)
            flag = DeviceCreationFlags.Debug;

to this in SharpDevice()

        if (debug)
            flag |= DeviceCreationFlags.Debug;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions