mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
fixing quick typo
@ -2,7 +2,7 @@ raylib does not support multiple Windows by default, it was designed with simpli
|
||||
|
||||
Fortunately raylib current design allows adding multi-window support in an easy way, in case some user requires this functionality.
|
||||
|
||||
Those are the setps to follow to modify the raylib source code and add multi-window support:
|
||||
Those are the steps to follow to modify the raylib source code and add multi-window support:
|
||||
|
||||
- [raylib.h] A `MAX_CONTEXTS` constant is defined to give the size of `RLGL[]` and `CoreData.Window[]`
|
||||
- [core] Change the `CoreData.Window` struct into `CoreData.Window[MAX_CONTEXTS]` and add a `currentWindow` variable as global index to switch between the structures, as well as a `numWindows` variable to keep count of the total number of windows
|
||||
|
||||
Reference in New Issue
Block a user