mirror of
https://github.com/raysan5/raylib.git
synced 2026-07-05 08:55:14 +00:00
Typos
This commit is contained in:
@@ -863,7 +863,7 @@ void SetWindowMonitor(int monitor)
|
||||
// ending up positioned partly outside the target display
|
||||
// NOTE 2: The workaround for that is, previously to moving the window,
|
||||
// setting the window size to the target display size, so they match
|
||||
// NOTE 3: It wasn't done here because it can not bee assumed that changing
|
||||
// NOTE 3: It wasn't done here because it can not be assumed that changing
|
||||
// the window size automatically is acceptable behavior by the user
|
||||
SDL_SetWindowPosition(platform.window, usableBounds.x, usableBounds.y);
|
||||
CORE.Window.position.x = usableBounds.x;
|
||||
|
||||
@@ -2213,7 +2213,7 @@ static unsigned SanitizeFlags(int mode, unsigned flags)
|
||||
//
|
||||
// This design takes care of many odd corner cases. For example, in case of restoring
|
||||
// a window that was previously maximized AND minimized and those two flags need to be removed,
|
||||
// ShowWindow with SW_RESTORE twice need to bee actually calleed. Another example is
|
||||
// ShowWindow with SW_RESTORE twice need to be actually calleed. Another example is
|
||||
// wheen having a maximized window, if the undecorated flag is modified then the window style
|
||||
// needs to be updated, but updating the style would mean the window size would change
|
||||
// causing the window to lose its Maximized state which would mean the window size
|
||||
|
||||
@@ -2989,7 +2989,7 @@ void rlDrawRenderBatch(rlRenderBatch *batch)
|
||||
|
||||
// NOTE: glMapBuffer() causes sync issue
|
||||
// If GPU is working with this buffer, glMapBuffer() will wait(stall) until GPU to finish its job
|
||||
// To avoid waiting (idle), glBufferData() can bee called first with NULL pointer before glMapBuffer()
|
||||
// To avoid waiting (idle), glBufferData() can be called first with NULL pointer before glMapBuffer()
|
||||
// Doing that, the previous data in PBO will be discarded and glMapBuffer() returns a new
|
||||
// allocated pointer immediately even if GPU is still working with the previous data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user