- Changed
RWFromMem()(0ee14f91) - Changed and renamed
RWops.FreeRW()toRWops.Free()(0ee14f91) - Changed and renamed
RWops.RWsize()toRWops.Size()(0ee14f91) - Changed and renamed
RWops.RWseek()toRWops.Seek()(0ee14f91) - Changed and renamed
RWops.RWread()toRWops.Read()andRWops.Read2()(0ee14f91) - Changed and renamed
RWops.RWtell()toRWops.Tell()(0ee14f91) - Changed and renamed
RWops.RWwrite()toRWops.Write()andRWops.Write2()(0ee14f91) - Changed and renamed
RWops.RWclose()toRWops.Close()(0ee14f91) - Changed and renamed
RWops.RWclose()toRWops.Close()(0ee14f91) - Changed
Window.VulkanCreateSurfaceto returnunsafe.Pointerinstead ofuintptr
- Changed
Init()to returnerrorinstead ofint
- Renamed
ButtonIdtoButtonIDinMessageBoxButtonDatastruct - Renamed
GL_CreateContext()toGLCreateContext() - Renamed
GL_DeleteContext()toGLDeleteContext() - Renamed
GL_ExtensionSupported()toGLExtensionSupported() - Renamed
GL_GetAttribute()toGLGetAttribute() - Renamed
GL_GetDrawableSize()toGLGetDrawableSize() - Renamed
GL_GetProcAddress()toGLGetProcAddress() - Renamed
GL_GetSwapInterval()toGLGetSwapInterval() - Renamed
GL_LoadLibrary()toGLLoadLibrary() - Renamed
GL_MakeCurrent()toGLMakeCurrent() - Renamed
GL_SetAttribute()toGLSetAttribute() - Renamed
GL_SetSwapInterval()toGLSetSwapInterval() - Renamed
GL_SwapWindow()toGLSwap() - Renamed
GL_UnloadLibrary()toGLUnloadLibrary() - Renamed
GameController.GetAttached()toGameController.Attached() - Renamed
GameController.GetAxis()toGameController.Axis() - Renamed
GameController.GetBindForAxis()toGameController.BindForAxis() - Renamed
GameController.GetBindForButton()toGameController.BindForButton() - Renamed
GameController.GetButton()toGameController.Button() - Renamed
GameController.GetJoystick()toGameController.Joystick() - Renamed
IdtoIDinFingerstruct - Renamed
Joystick.GetAttached()toJoystick.Attached() - Renamed
Joystick.GetAxis()toJoystick.Axis() - Renamed
Joystick.GetBall()toJoystick.Ball() - Renamed
Joystick.GetButton()toJoystick.Button() - Renamed
Joystick.GetGUID()toJoystick.GUID() - Renamed
Joystick.GetHat()toJoystick.Hat() - Renamed
LoadBMP_RW()toLoadBMPRW() - Renamed
LoadBMP_RW()toLoadBMPRW() - Renamed
LoadCUR_RW()toLoadCURRW() - Renamed
LoadGIF_RW()toLoadGIFRW() - Renamed
LoadICO_RW()toLoadICORW() - Renamed
LoadJPG_RW()toLoadJPGRW() - Renamed
LoadLBM_RW()toLoadLBMRW() - Renamed
LoadMUSType_RW()toLoadMUSTypeRW() - Renamed
LoadMUS_RW()toLoadMUSRW() - Renamed
LoadPCX_RW()toLoadPCXRW() - Renamed
LoadPNG_RW()toLoadPNGRW() - Renamed
LoadPNM_RW()toLoadPNMRW() - Renamed
LoadTGA_RW()toLoadTGARW() - Renamed
LoadTIF_RW()toLoadTIFRW() - Renamed
LoadTexture_RWtoLoadTextureRW - Renamed
LoadTyped_RWtoLoadTypedRW - Renamed
LoadWAV_RW()toLoadWAVRW() - Renamed
LoadWAV_RW()toLoadWAVRW() - Renamed
LoadWEBP_RW()toLoadWEBPRW() - Renamed
LoadXCF_RW()toLoadXCFRW() - Renamed
LoadXPM_RW()toLoadXPMRW() - Renamed
LoadXV_RW()toLoadXVRW() - Renamed
Load_RWtoLoadRW - Renamed
QuickLoad_RAW()toQuickLoadRAW() - Renamed
QuickLoad_WAV()toQuickLoadWAV() - Renamed
RenderUTF8_Blended()toRenderUTF8Blended() - Renamed
RenderUTF8_Blended_Wrapped()toRenderUTF8BlendedWrapped() - Renamed
RenderUTF8_Shaded()toRenderUTF8Shaded() - Renamed
RenderUTF8_Solid()toRenderUTF8Solid() - Renamed
SW_YUVTexturetoSWYUVTexture - Renamed
SaveBMP_RW()toSaveBMPRW() - Renamed
SavePNG_RW()toSavePNGRW() - Renamed
Texture.GL_BindTexture()toTexture.GLBind() - Renamed
Texture.GL_UnbindTexture()toTexture.GLUnbind() - Renamed
TouchIdtoTouchIDinMultiGestureEventstruct - Renamed
UnicodetounusedinKeysymstruct (must have been a typo) GLCreateContext(),GLMakeCurrent(),GLGetDrawableSize(),GLSwapWindow()are now methods ofWindowGetCurrentDisplayMode()returns (DisplayMode, error) instead of errorGetCurrentVideoDriver()returns (string, error) instead of stringGetDesktopDisplayMode()returns (DisplayMode, error) instead of errorGetDisplayBounds()returns (Rect, error) instead of errorGetDisplayMode()returns (DisplayMode, error) instead of errorGetDisplayName()returns (string, error) instead of stringGetDisplayUsableBoundsreturns (Rect, error) instead of errorGetNumRenderDrivers()returns (int, error) instead of intGetRenderDriverInfo()returns (int, error) instead of intHaptic.GetEffectStatus()returns (int, error) instead of intHaptic.NumAxes()returns (int, error) instead of intHaptic.NumEffects()returns (int, error) instead of intHaptic.NumEffectsPlaying()returns (int, error) instead of intHaptic.Query()returns (uint32, error) instead of uintHapticIndex()returns (int, error) instead of intHapticName()returns (string, error) instead of stringHapticOpenFromJoystick()returns (*Haptic, error) instead of *HapticLoadBMPRW()requires (*RWops, bool) instead of (*RWops, int)LoadWAV()requires string instead of (string ,*AudioSpec)LoadWAVRW()requires (*RWops, bool) instead of (*RWops, bool ,*AudioSpec)NumHaptics()returns (int, error) instead of intRenderer.Destroy()returns errorRenderer.GetViewport()andRenderer.GetClipRect()now returns Rect instead of being passed a *RectShowCursor()returns (int, error) instead of intSurface.SaveBMPRW()requires (*RWops, bool) instead of (*RWops, int)Surface.SetColorKey()requires (bool, uint32) instead of (int, uint32)Surface.SetRLE()requires bool instead of intTexture.Destroy()returns errorWindow.Destroy()returns errorWindow.GetDisplayMode()returns (DisplayMode, error) instead of errorWindow.GetID()returns (uint32, error) instead of uint32- Changed Mutex, Sem, Cond to have methods instead of functions
- Changed
GameControllerMapping()intoGameController.Mapping() - Haptic functions now return bool and/or error instead of int
- Merged
KeyUpEventandKeyDownEventintoKeyboardEvent - Moved error to the last return value in
ShowMessageBox() - Split
JoyDeviceEventintoJoyDeviceAddedEventandJoyDeviceRemovedEvent, since Which field can contain different types of data (int or JoystickID).
- Unexported
Flags,LockedandLockDatainSurfacestruct - Unexported
PaddinginAudioSpecstruct - Unexported
Rloss,Gloss,Bloss,Aloss,Rshift,Gshift,Bshift,Ashift,RefCount,NextinPixelFormatstruct - Unexported
Version,RefCountinPalettestruct - Unexported
goHintCallback