Browse Source

Fixed typos

Sam Lantinga 2 months ago
parent
commit
61d105247e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/video/kmsdrm/SDL_kmsdrmvideo.c

+ 2 - 2
src/video/kmsdrm/SDL_kmsdrmvideo.c

@@ -1729,9 +1729,9 @@ bool KMSDRM_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_Propert
         }
         }
 
 
         /* Create the window surfaces with the size we have just chosen.
         /* Create the window surfaces with the size we have just chosen.
-           Needs the window diverdata in place. */
+           Needs the window driverdata in place. */
         if (!KMSDRM_CreateSurfaces(_this, window)) {
         if (!KMSDRM_CreateSurfaces(_this, window)) {
-            return SDL_SetError("Can't window GBM/EGL surfaces on window creation.");
+            return SDL_SetError("Can't create GBM/EGL surfaces on window creation.");
         }
         }
     } // NON-Vulkan block ends.
     } // NON-Vulkan block ends.