setGLAttribute

Wraps SDL_GL_SetAttribute which sets OpenGL attributes for initialization

@safe @trusted
void
setGLAttribute

Parameters

attribute GLAttribute

the dsdl2.GLAttribute to set

value uint

requested value for the attribute to be set as

Throws

dsdl2.SDLException if unable to set the attribute

Meta