SDL_GL_GetAttribute (3) Linux Manual Page
SDL_GL_GetAttribute – Get the value of a special SDL/OpenGL attribute
Synopsis
#include "SDL.h" int SDL_GL_GetAttribute(SDLGLattr attr, int *value);
SDL_GL_GetAttribute – Get the value of a special SDL/OpenGL attribute
int SDL_GL_GetAttribute(SDLGLattr attr, int *value);