Skip to content

Code that uses unsafe.Pointer to convert an integer-typed value held in memory into a pointer is illegal and must be rewritten #63

@Wessie

Description

@Wessie

This issue made because go-gl/gl#18 is the wrong repository for it.

This is the exact same issue that had to be resolved back in the old bindings go-gl/glfw#78, the most straightforward fix would be to work with uintptr instead of unsafe.Pointer. Using a new type instead of uintptr is also viable, but in no circumstance should it stay in an unsafe.Pointer

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