@ -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