|
14 | 14 | + Renamed `GL_MakeCurrent()` to `GLMakeCurrent()`
|
15 | 15 | + Renamed `GL_SetAttribute()` to `GLSetAttribute()`
|
16 | 16 | + Renamed `GL_SetSwapInterval()` to `GLSetSwapInterval()`
|
17 |
| -+ Renamed `GL_SwapWindow()` to `GLSwapWindow()` |
| 17 | ++ Renamed `GL_SwapWindow()` to `GLSwap()` |
18 | 18 | + Renamed `GL_UnloadLibrary()` to `GLUnloadLibrary()`
|
19 | 19 | + Renamed `GameController.GetAttached()` to `GameController.Attached()`
|
20 | 20 | + Renamed `GameController.GetAxis()` to `GameController.Axis()`
|
|
65 | 65 | + Renamed `Texture.GL_UnbindTexture()` to `Texture.GLUnbind()`
|
66 | 66 | + Renamed `TouchId` to `TouchID` in `MultiGestureEvent` struct
|
67 | 67 | + Renamed `Unicode` to `unused` in `Keysym` struct (must have been a typo)
|
68 |
| -+ `GetCurrentDisplayMode` returns (DisplayMode, error) instead of error |
| 68 | ++ `GLCreateContext()`, `GLMakeCurrent()`, `GLGetDrawableSize()`, `GLSwapWindow()` are now methods of `Window` |
| 69 | ++ `GetCurrentDisplayMode()` returns (DisplayMode, error) instead of error |
69 | 70 | + `GetCurrentVideoDriver()` returns (string, error) instead of string
|
70 |
| -+ `GetDesktopDisplayMode` returns (DisplayMode, error) instead of error |
71 |
| -+ `GetDisplayBounds` returns (Rect, error) instead of error |
72 |
| -+ `GetDisplayMode` returns (DisplayMode, error) instead of error |
| 71 | ++ `GetDesktopDisplayMode()` returns (DisplayMode, error) instead of error |
| 72 | ++ `GetDisplayBounds()` returns (Rect, error) instead of error |
| 73 | ++ `GetDisplayMode()` returns (DisplayMode, error) instead of error |
73 | 74 | + `GetDisplayName()` returns (string, error) instead of string
|
74 | 75 | + `GetDisplayUsableBounds` returns (Rect, error) instead of error
|
75 | 76 | + `GetNumRenderDrivers()` returns (int, error) instead of int
|
|
88 | 89 | + `NumHaptics()` returns (int, error) instead of int
|
89 | 90 | + `Renderer.Destroy()` returns error
|
90 | 91 | + `Renderer.GetViewport()` and `Renderer.GetClipRect()` now returns Rect instead of being passed a \*Rect
|
91 |
| -+ `ShowCursor` returns (int, error) instead of int |
| 92 | ++ `ShowCursor()` returns (int, error) instead of int |
92 | 93 | + `Surface.SaveBMPRW()` requires (\*RWops, bool) instead of (\*RWops, int)
|
93 | 94 | + `Surface.SetColorKey()` requires (bool, uint32) instead of (int, uint32)
|
94 | 95 | + `Surface.SetRLE()` requires bool instead of int
|
95 | 96 | + `Texture.Destroy()` returns error
|
96 | 97 | + `Window.Destroy()` returns error
|
97 |
| -+ `Window.GetDisplayMode` returns (DisplayMode, error) instead of error |
| 98 | ++ `Window.GetDisplayMode()` returns (DisplayMode, error) instead of error |
98 | 99 | + `Window.GetID()` returns (uint32, error) instead of uint32
|
99 | 100 | + Changed Mutex, Sem, Cond to have methods instead of functions
|
100 | 101 | + Changed `GameControllerMapping()` into `GameController.Mapping()`
|
|
0 commit comments