Man page - sdl_gl_resetattributes(3)

Packages contains this manual

Manual

SDL_GL_ResetAttributes

NAME
HEADER FILE
SYNOPSIS
THREAD SAFETY
AVAILABILITY
SEE ALSO

NAME

SDL_GL_ResetAttributes - Reset all previously set OpenGL context attributes to their default values.

HEADER FILE

Defined in SDL3/SDL_video.h

SYNOPSIS

#include "SDL3/SDL.h"

void SDL_GL_ResetAttributes(void);

THREAD SAFETY

This function should only be called on the main thread.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

(3), SDL_GL_GetAttribute (3), (3), SDL_GL_SetAttribute (3)