Jacket
Search the docs
/
API
Tools
Playground
main
SDL module
← SDL
Declarations
SDL_GetWindowMaximumSize
SDL_GetWindowMinimumSize
SDL_GetWindowPixelFormat
SDL_GetWindowPosition
SDL_GetWindowSize
SDL_GetWindowSurface
SDL_GetWindowTitle
SDL_GL_BindTexture
SDL_GL_CreateContext
SDL_GL_DeleteContext
SDL_GL_ExtensionSupported
SDL_GL_GetAttribute
SDL_GL_GetCurrentContext
SDL_GL_GetCurrentWindow
SDL_GL_GetDrawableSize
SDL_GL_GetProcAddress
SDL_GL_GetSwapInterval
SDL_GL_LoadLibrary
SDL_GL_MakeCurrent
SDL_GL_ResetAttributes
SDL_GL_SetAttribute
SDL_GL_SetSwapInterval
SDL_GL_SwapWindow
SDL_GL_UnbindTexture
SDL_GL_UnloadLibrary
SDL_HasClipboardText
SDL_HasEvent
SDL_HasEvents
SDL_HasIntersection
SDL_HasScreenKeyboardSupport
SDL_HideWindow
SDL_Init
SDL_InitSubSystem
SDL_IntersectRect
SDL_IntersectRectAndLine
SDL_IsGameController
SDL_IsScreenKeyboardShown
SDL_IsScreenSaverEnabled
SDL_IsTextInputActive
SDL_JoystickClose
On this page
See also
std
/
SDL
/
SDL_GL_SetAttribute
SDL_GL_SetAttribute
procedure
foreign
Source
SDL_GL_SetAttribute
:: (attr:
SDL_GLattr
, value:
s32
) ->
s32
#foreign
Parameters
attr
:
SDL_GLattr
value
:
s32
Returns
s32
See also
SDL_GL_MakeCurrent
SDL_GL_ResetAttributes
SDL_GL_SetSwapInterval
SDL_GL_SwapWindow