Tag: SDL2

  • Compare 3 modes of SDL_HINT_RENDER_SCALE_QUALITY

    Using SDL library to render a picture to renderer (monitor ), it sometime become blur when we need to compress/rescale the size of picture. SDL_HINT_RENDER_SCALE_QUALITY , is a hint that specifies scaling quality when rendering (copy picture/texture and paste to monitor through graphic card ) This hint have 3 option : nearest (default ) ,…