Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix cross-nightly manual

This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.

SDL_GetVideoSurface(3) SDL API Reference SDL_GetVideoSurface(3)

NAME

SDL_GetVideoSurface - returns a pointer to the current display surface

SYNOPSIS

#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.

SEE ALSO

SDL_Surface
Tue 11 Sep 2001, 23:01 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org