1. Duangle
  2. Untitled project
  3. pysdl-cffi

Source

pysdl-cffi / sdl / __init__.py

Diff from to

File sdl/__init__.py

  • Ignore whitespace
     if result == 0:
         return mode
 
-def SDL_GetDesktopDisplayMode():
+def SDL_GetDesktopDisplayMode(displayIndex):
     mode = _ffi.new('SDL_DisplayMode *')
     result = _SDL_GetDesktopDisplayMode(displayIndex, mode)
     if result == 0: