![]() |
Public API Reference |
![]() |
Common code shared among plugins using OpenGL. More...
Functions | |
void CS_CSPLUGINCOMMON_GL_EXPORT | SetAssumedState (csGLStateCache *statecache, csGLExtensionManager *ext) |
Set some states to values assumed throughout Crystal Space. |
Common code shared among plugins using OpenGL.
void CS_CSPLUGINCOMMON_GL_EXPORT CS::PluginCommon::GL::SetAssumedState | ( | csGLStateCache * | statecache, |
csGLExtensionManager * | ext | ||
) |
Set some states to values assumed throughout Crystal Space.
This is useful in embedding situations where the embedder may change these states to other values; this function can set them to the assumed values before control is passed back to CS.
States set by this function are: