Browse Source

Sync wiki -> headers

Ryan C. Gordon 1 year ago
parent
commit
70d75b4a23
2 changed files with 8 additions and 7 deletions
  1. 6 5
      include/SDL3/SDL_main.h
  2. 2 2
      include/SDL3/SDL_vulkan.h

+ 6 - 5
include/SDL3/SDL_main.h

@@ -389,10 +389,10 @@ extern DECLSPEC int SDLCALL SDL_RunApp(int argc, char* argv[], SDL_main_func mai
 /**
  * An entry point for SDL's use in SDL_MAIN_USE_CALLBACKS.
  *
- * Generally, you should not call this function directly. This only exists
- * to hand off work into SDL as soon as possible, where it has a lot more
- * control and functionality available, and make the inline code in
- * SDL_main.h as small as possible.
+ * Generally, you should not call this function directly. This only exists to
+ * hand off work into SDL as soon as possible, where it has a lot more control
+ * and functionality available, and make the inline code in SDL_main.h as
+ * small as possible.
  *
  * Not all platforms use this, it's actual use is hidden in a magic
  * header-only library, and you should not call this directly unless you
@@ -406,7 +406,8 @@ extern DECLSPEC int SDLCALL SDL_RunApp(int argc, char* argv[], SDL_main_func mai
  * \param appquit The application's SDL_AppQuit function
  * \returns standard Unix main return value
  *
- * \threadsafety It is not safe to call this anywhere except as the only function call in SDL_main.
+ * \threadsafety It is not safe to call this anywhere except as the only
+ *               function call in SDL_main.
  *
  * \since This function is available since SDL 3.0.0.
  */

+ 2 - 2
include/SDL3/SDL_vulkan.h

@@ -140,8 +140,8 @@ extern DECLSPEC void SDLCALL SDL_Vulkan_UnloadLibrary(void);
  * This should be called after either calling SDL_Vulkan_LoadLibrary() or
  * creating an SDL_Window with the `SDL_WINDOW_VULKAN` flag.
  *
- * On return, the variable pointed to by `pCount` will be set to the number
- * of elements returned, suitable for using with
+ * On return, the variable pointed to by `pCount` will be set to the number of
+ * elements returned, suitable for using with
  * VkInstanceCreateInfo::enabledExtensionCount, and the returned array can be
  * used with VkInstanceCreateInfo::ppEnabledExtensionNames, for calling
  * Vulkan's vkCreateInstance API.