From 678ef7977ffdcd5e91d4b85abd6e12ce6b5ce891 Mon Sep 17 00:00:00 2001 From: Hubert Maier Date: Sun, 30 Oct 2022 08:53:34 +0100 Subject: [PATCH] SDL_KMSDRMOPENGLES.H: Correct spelling mistakes begining -> beginning beggining -> beginning --- src/video/kmsdrm/SDL_kmsdrmopengles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/kmsdrm/SDL_kmsdrmopengles.c b/src/video/kmsdrm/SDL_kmsdrmopengles.c index 25d942e09..253e34ecd 100644 --- a/src/video/kmsdrm/SDL_kmsdrmopengles.c +++ b/src/video/kmsdrm/SDL_kmsdrmopengles.c @@ -180,11 +180,11 @@ KMSDRM_GLES_SwapWindow(_THIS, SDL_Window * window) { } /* Wait immediately for vsync (as if we only had two buffers). - Even if we are already doing a WaitPageflip at the begining of this + Even if we are already doing a WaitPageflip at the beginning of this function, this is NOT redundant because here we wait immediately after submitting the image to the screen, reducing lag, and if we have waited here, there won't be a pending pageflip so the - WaitPageflip at the beggining of this function will be a no-op. + WaitPageflip at the beginning of this function will be a no-op. Just leave it here and don't worry. Run your SDL2 program with "SDL_KMSDRM_DOUBLE_BUFFER=1 " to enable this. */