#include<SDL3/SDL_video.h>typedefenumSDL_GLAttr{SDL_GL_RED_SIZE,/**<theminimumnumberofbitsfortheredchannelofthecolorbuffer;defaultsto8.*/SDL_GL_GREEN_SIZE,/**<theminimumnumberofbitsforthegreenchannelofthecolorbuffer;defaultsto8.*/SDL_GL_BLUE_SIZE,/**<theminimumnumberofbitsforthebluechannelofthecolorbuffer;defaultsto8.*/SDL_GL_ALPHA_SIZE,/**<theminimumnumberofbitsforthealphachannelofthecolorbuffer;defaultsto8.*/SDL_GL_BUFFER_SIZE,/**<theminimumnumberofbitsforframebuffersize;defaultsto0.*/SDL_GL_DOUBLEBUFFER,/**<whethertheoutputissingleordoublebuffered;defaultstodoublebufferingon.*/SDL_GL_DEPTH_SIZE,/**<theminimumnumberofbitsinthedepthbuffer;defaultsto16.*/SDL_GL_STENCIL_SIZE,/**<theminimumnumberofbitsinthestencilbuffer;defaultsto0.*/SDL_GL_ACCUM_RED_SIZE,/**<theminimumnumberofbitsfortheredchanneloftheaccumulationbuffer;defaultsto0.*/SDL_GL_ACCUM_GREEN_SIZE,/**<theminimumnumberofbitsforthegreenchanneloftheaccumulationbuffer;defaultsto0.*/SDL_GL_ACCUM_BLUE_SIZE,/**<theminimumnumberofbitsforthebluechanneloftheaccumulationbuffer;defaultsto0.*/SDL_GL_ACCUM_ALPHA_SIZE,/**<theminimumnumberofbitsforthealphachanneloftheaccumulationbuffer;defaultsto0.*/SDL_GL_STEREO,/**<whethertheoutputisstereo3D;defaultstooff.*/SDL_GL_MULTISAMPLEBUFFERS,/**<thenumberofbuffersusedformultisampleanti-aliasing;defaultsto0.*/SDL_GL_MULTISAMPLESAMPLES,/**<thenumberofsamplesusedaroundthecurrentpixelusedformultisampleanti-aliasing.*/SDL_GL_ACCELERATED_VISUAL,/**<setto1torequirehardwareacceleration,setto0toforcesoftwarerendering;defaultstoalloweither.*/SDL_GL_RETAINED_BACKING,/**<notused(deprecated).*/SDL_GL_CONTEXT_MAJOR_VERSION,/**<OpenGLcontextmajorversion.*/SDL_GL_CONTEXT_MINOR_VERSION,/**<OpenGLcontextminorversion.*/SDL_GL_CONTEXT_FLAGS,/**<somecombinationof0ormoreofelementsoftheSDL_GLContextFlagenumeration;defaultsto0.*/SDL_GL_CONTEXT_PROFILE_MASK,/**<typeofGLcontext(Core,Compatibility,ES).SeeSDL_GLProfile;defaultvaluedependsonplatform.*/SDL_GL_SHARE_WITH_CURRENT_CONTEXT,/**<OpenGLcontextsharing;defaultsto0.*/SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,/**<requestssRGBcapablevisual;defaultsto0.*/SDL_GL_CONTEXT_RELEASE_BEHAVIOR,/**<setscontextthereleasebehavior.SeeSDL_GLContextReleaseFlag;defaultstoFLUSH.*/SDL_GL_CONTEXT_RESET_NOTIFICATION,/**<setcontextresetnotification.SeeSDL_GLContextResetNotification;defaultstoNO_NOTIFICATION.*/SDL_GL_CONTEXT_NO_ERROR,SDL_GL_FLOATBUFFERS,SDL_GL_EGL_PLATFORM}SDL_GLAttr;