table of contents
- experimental 3.5~git20260611~7c60bcd+ds-1
| SDL_HINT_DOS_ALLOW_DIRECT_FRAMEBUFFER(3) | SDL3 FUNCTIONS | SDL_HINT_DOS_ALLOW_DIRECT_FRAMEBUFFER(3) |
NAME¶
SDL_HINT_DOS_ALLOW_DIRECT_FRAMEBUFFER - A variable that enables a fast framebuffer path on DOS.
SYNOPSIS¶
#include <SDL3/SDL_hints.h>
#define SDL_HINT_DOS_ALLOW_DIRECT_FRAMEBUFFER "SDL_DOS_ALLOW_DIRECT_FRAMEBUFFER"
DESCRIPTION¶
When set to "1", SDL_UpdateWindowSurface() copies the system-RAM surface directly to VRAM and skips software cursor compositing and vsync.
The variable can be set to the following values:
• "0": Use the normal path with cursor compositing and vsync. (default)
• "1": Use the fast direct-to-VRAM path when available.
This hint must be set before the first call to SDL_GetWindowSurface().
AVAILABILITY¶
This hint is available since SDL 3.6.0.
| SDL 3.5.0 | Simple Directmedia Layer |