Commits

Leonard Ritter committed f4fb70b

fixed SDL_GetDesktopDisplayMode

  • Participants
  • Parent commits 233029d

Comments (0)

Files changed (1)

File sdl/__init__.py

     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: