Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose SDL_GL_GetProcAddress #3284

Open
amengede opened this issue Jan 7, 2025 · 1 comment · May be fixed by #3285
Open

Expose SDL_GL_GetProcAddress #3284

amengede opened this issue Jan 7, 2025 · 1 comment · May be fixed by #3285

Comments

@amengede
Copy link

amengede commented Jan 7, 2025

Pygame is a binding to SDL, which has functionality to query opengl procedure addresses (https://wiki.libsdl.org/SDL2/SDL_GL_GetProcAddress) however this does not appear to be visible in pygame.

why it’s important: currently pygame works well with PyOpenGL, however the PyOpenGL binding does not include all available extensions (eg. Bindless textures) in glfw, these extensions can be fetched directly (eg. What to do when PyOpenGL doesn't support an OpenGL function (load_proc_addr)
https://youtu.be/GGfuJj2ubzI). However I’d rather use Pygame over glfw as it’s more widely supported.

@yunline yunline linked a pull request Jan 8, 2025 that will close this issue
@Starbuck5
Copy link
Member

@amengede Yunline put in a draft PR to address this, see linked-- #3285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants