Procházet zdrojové kódy

SDL3 removed SDL_HINT_RENDER_SCALE_QUALITY hint

textures now default to linear filtering, use SDL_SetTextureScaleMode(texture, SDL_SCALEMODE_NEAREST) if you want nearest pixel mode instead
Anonymous Maarten před 1 rokem
rodič
revize
7dd4f1ec22
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  1. 0 3
      include/SDL3/SDL_render.h

+ 0 - 3
include/SDL3/SDL_render.h

@@ -494,9 +494,6 @@ extern DECLSPEC int SDLCALL SDL_GetCurrentRenderOutputSize(SDL_Renderer *rendere
 /**
 /**
  * Create a texture for a rendering context.
  * Create a texture for a rendering context.
  *
  *
- * You can set the texture scaling method by setting
- * `SDL_HINT_RENDER_SCALE_QUALITY` before creating the texture.
- *
  * \param renderer the rendering context
  * \param renderer the rendering context
  * \param format one of the enumerated values in SDL_PixelFormatEnum
  * \param format one of the enumerated values in SDL_PixelFormatEnum
  * \param access one of the enumerated values in SDL_TextureAccess
  * \param access one of the enumerated values in SDL_TextureAccess