Function setGLAttribute
Wraps SDL_GL_SetAttribute
which sets OpenGL attributes for initialization
Parameters
Name | Description |
---|---|
attribute | the dsdl2 to set |
value | requested value for the attribute to be set as |
Throws
dsdl2
if unable to set the attribute