Commits

Marcus von Appen committed 03870c5

- fixed missing wrapper function for sdl2.video.SDL_GL_ResetAttributes() to retain backwards compatibility

  • Participants
  • Parent commits 142eb0b

Comments (0)

Files changed (1)

File sdl2/video.py

 SDL_GL_SwapWindow = _bind("SDL_GL_SwapWindow", [POINTER(SDL_Window)])
 SDL_GL_DeleteContext = _bind("SDL_GL_DeleteContext", [SDL_GLContext])
 SDL_GL_GetDrawableSize = _bind("SDL_GL_GetDrawableSize", [POINTER(SDL_Window), POINTER(c_int), POINTER(c_int)], optfunc=nullfunc)
-SDL_GL_ResetAttributes = _bind("SDL_GL_ResetAttributes")
+SDL_GL_ResetAttributes = _bind("SDL_GL_ResetAttributes", optfunc=nullfunc)