浏览代码

Fixed typos

(cherry picked from commit 61d105247eed73a9ac77a4f67f91e691613b306b)
Sam Lantinga 2 月之前
父节点
当前提交
1081b70951
共有 1 个文件被更改,包括 2 次插入2 次删除
  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.