Skip to content

Expose native sdl functionality #3392

Closed as not planned
Closed as not planned
@amengede

Description

@amengede

Pygame is a wrapper around SDL, and it’s great! However advanced users would like to be able to fetch the underlying SDL functions.

Examples:

getting the address of an opengl procedure not exposed by pyopengl

Getting the raw surface from a window for vulkan rendering

A quick fix could be to expose the raw function pointer, which users could manage themselves with something like FFI.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions