From df9d2a4a67fad18b60ac54899ddc6f5da2ba10dd Mon Sep 17 00:00:00 2001 From: derpyzza <68068652+derpyzza@users.noreply.github.com> Date: Thu, 19 Aug 2021 23:39:28 +0500 Subject: [PATCH] couple grammar fixes :) --- Use-multiple-windows.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Use-multiple-windows.md b/Use-multiple-windows.md index a1df516..0b01e17 100644 --- a/Use-multiple-windows.md +++ b/Use-multiple-windows.md @@ -1,8 +1,8 @@ raylib does not support multiple Windows by default, it was designed with simplicity in main and multi-window option was not considered as a core feature. -Fortunately raylib current design allows adding multi-window support in an easy way, in case some user requires this functionality. +Fortunately raylib's current design allows adding multi-window support in an easy way, in case some user requires this functionality. -Those are the steps to follow to modify the raylib source code and add multi-window support: +the steps to follow to modify the raylib source code and add multi-window support are as follows: - [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 @@ -15,4 +15,4 @@ Those are the steps to follow to modify the raylib source code and add multi-win That's it. To use it just call `InitWindow()` twice to get two windows. Then, just call `BeginDrawing(n)` to set current window for drawing (`BeginDrawing(n)`- `EndDrawing()`). - NOTE: This has been tested only on Microsoft Windows for recreational purpose. \ No newline at end of file + NOTE: This has only been tested on Microsoft Windows for recreational purposes. \ No newline at end of file