Name
gl.SetCurrentContext -- set current OpenGL context
Synopsis
gl.SetCurrentContext(id)
Function
This function makes the OpenGL context of the display specified by id current. With GL Galore, every Hollywood display maintains its own GL context. You can use this function to set the current GL context that all further calls to OpenGL should use.

You can use gl.GetCurrentContext() to get the current GL context.

Inputs
id
identifier of a Hollywood display whose GL context should be made current

Show TOC