Quellcode durchsuchen

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot vor 4 Monaten
Ursprung
Commit
8ca8887885
1 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
  1. 6 2
      include/SDL3/SDL_surface.h

+ 6 - 2
include/SDL3/SDL_surface.h

@@ -597,7 +597,9 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SaveBMP(SDL_Surface *surface, const char *f
 /**
 /**
  * Load a PNG image from a seekable SDL data stream.
  * Load a PNG image from a seekable SDL data stream.
  *
  *
- * This is intended as a convenience function for loading images from trusted sources. If you want to load arbitrary images you should use libpng or another image loading library designed with security in mind.
+ * This is intended as a convenience function for loading images from trusted
+ * sources. If you want to load arbitrary images you should use libpng or
+ * another image loading library designed with security in mind.
  *
  *
  * The new surface should be freed with SDL_DestroySurface(). Not doing so
  * The new surface should be freed with SDL_DestroySurface(). Not doing so
  * will result in a memory leak.
  * will result in a memory leak.
@@ -621,7 +623,9 @@ extern SDL_DECLSPEC SDL_Surface * SDLCALL SDL_LoadPNG_IO(SDL_IOStream *src, bool
 /**
 /**
  * Load a PNG image from a file.
  * Load a PNG image from a file.
  *
  *
- * This is intended as a convenience function for loading images from trusted sources. If you want to load arbitrary images you should use libpng or another image loading library designed with security in mind.
+ * This is intended as a convenience function for loading images from trusted
+ * sources. If you want to load arbitrary images you should use libpng or
+ * another image loading library designed with security in mind.
  *
  *
  * The new surface should be freed with SDL_DestroySurface(). Not doing so
  * The new surface should be freed with SDL_DestroySurface(). Not doing so
  * will result in a memory leak.
  * will result in a memory leak.