Browse Source

Document that SDL_SCALEMODE_PIXELART is available in 3.4.0

Fixes https://github.com/libsdl-org/sdlwiki/issues/856
Sam Lantinga 1 ngày trước cách đây
mục cha
commit
49e15904ae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/SDL3/SDL_surface.h

+ 1 - 1
include/SDL3/SDL_surface.h

@@ -86,7 +86,7 @@ typedef enum SDL_ScaleMode
     SDL_SCALEMODE_INVALID = -1,
     SDL_SCALEMODE_NEAREST,  /**< nearest pixel sampling */
     SDL_SCALEMODE_LINEAR,   /**< linear filtering */
-    SDL_SCALEMODE_PIXELART  /**< nearest pixel sampling with improved scaling for pixel art */
+    SDL_SCALEMODE_PIXELART  /**< nearest pixel sampling with improved scaling for pixel art, available since SDL 3.4.0 */
 } SDL_ScaleMode;
 
 /**