The OpenSG X Window needs the X Display and the X Window it should render into. It creates the OpenGL context itself during init(), but the X Window needs to have been created with a Visual that is OpenGL-capable. activate(), deactivate() and swap() do just that. ;)
1.4.3