SDL_GetVideoSurface(3)
β¨ NAME β¨
SDL_GetVideoSurface β returns a pointer to the current display surface. π₯οΈπ
okay so bestie, this is the SDL API Reference page for SDL_GetVideoSurface(3), and it's lowkey iconic. The name says it all: it gets the video surface. Periodt. π
πΈ SYNOPSIS πΈ
the signature is giving:
#include "SDL.h"
SDL_Surface *SDL_GetVideoSurface(void);
π¦ DESCRIPTION π¦
This function returns a pointer to the current display surface. πͺ©
If SDL is doing format conversion on the display surface, this function returns the publicly visible surface, not the real video surface. π no cap, that distinction matters.
π SEE ALSO π
SDL_Surface
mwah π that's the whole page. it's from SDL, dated Tue 11 Sep 2001, 23:01, and the page is SDL_GetVideoSurface(3). bye bestie, go slay π«Άβ¨
π¦ where this page comes from
- debian bookworm: libsdl1.2-dev 1.2.15+dfsg2-8 Β· LGPL-2.1-or-later
- nixos 26.05: SDL_sixel 0-unstable-2016-02-06
- nixpkgs unstable: SDL_sixel 0-unstable-2016-02-06
- ubuntu jammy: libsdl1.2-dev 1.2.15+dfsg2-6 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms