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