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

OpenGL support #665

Open
TheKruger opened this issue Jan 8, 2025 · 1 comment
Open

OpenGL support #665

TheKruger opened this issue Jan 8, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@TheKruger
Copy link

TheKruger commented Jan 8, 2025

Is your feature request related to a problem? Please describe.
Currently Im working on a game and I will want to publish it on steam, so I will use SteamworksPy, to get steamid and steam overlay. The problem is when I add the pygame.OPENGL flag the UIs will not draw.

Describe the solution you'd like
Adding an option to use pygame_gui with/without the OpenGL flag.

Describe alternatives you've considered
I tried this solution which worked, but the performance was worse.
Edit: Rendering UI besides the game and then converting the surface for OpenGL requires more time. Maybe my game rendering code still lacks of optimalizations, but I will try to improve it more.

@TheKruger TheKruger added the enhancement New feature or request label Jan 8, 2025
@pichenka007
Copy link

same problem
I'd like to put a shader on the background :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants