Skip to content

glTexImage2D corrupts textures #50

Description

@rmn20

glTexImage2D uses dmaCopy but doesnt call DC_FlushRange causing textures to look corrupted.
The Libnds docs say that DC_FlushRange must be called before using dmaCopy, but the library itself ignores this...

https://libnds.devkitpro.org/dma_8h.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions