瀏覽代碼

Fix -Wnewline-eof warnings (#14989)

RaceTheMaSe 2 月之前
父節點
當前提交
9fda8f2669
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      examples/demo/02-woodeneye-008/woodeneye-008.c
  2. 1 1
      src/gpu/xr/SDL_gpu_openxr.h

+ 1 - 1
examples/demo/02-woodeneye-008/woodeneye-008.c

@@ -477,4 +477,4 @@ SDL_AppResult SDL_AppIterate(void *appstate)
 void SDL_AppQuit(void *appstate, SDL_AppResult result)
 {
     SDL_free(appstate); // just free the memory, SDL will clean up the window/renderer for us.
-}
+}

+ 1 - 1
src/gpu/xr/SDL_gpu_openxr.h

@@ -27,4 +27,4 @@ XrResult SDL_OPENXR_INTERNAL_GPUInitOpenXR(
     SDL_PropertiesID props,
     XrInstance *instance,
     XrSystemId *systemId,
-    XrInstancePfns **xr);
+    XrInstancePfns **xr);