Function getGLAttribute
Wraps SDL_GL_GetAttribute
which gets previously set OpenGL attributes for initialization
Parameters
Name | Description |
---|---|
attribute | the dsdl whose value to get |
Returns
value of the requested attribute
Throws
dsdl
if unable to get the attribute