Skip to content
#

sdl

Here are 851 public repositories matching this topic...

MyreMylar
MyreMylar commented Jun 28, 2020

Currently the toggle_fullscreen() contain these lines:

This function only works under the UNIX X11 video driver. For most situations it is better to call pygame.display.set_mode() with new display flags.

This is no longer accurate as the function works on windows for sure (tested) and looking at the code likely works on mac and with other display drivers on linux too. I believe it is also

zx64
zx64 commented Dec 1, 2018

From the comment in SDL_filesystem.h:
Please call SDL_free() on the pointer when you are done with it

When building the project with MSVC, I ran into some debug heap asserts early into the program startup.
The culprit appears to be the code in m_config.c that does free(prefdir) as changing these to SDL_free(prefdir) resolved the issue.

I'm not sure what to do about `GetDefaultConfi

Improve this page

Add a description, image, and links to the sdl topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sdl topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.