Previous Next Up Title Contents Index Top Library

4.9. USING AN EXISTING X-WINDOW

An existing X window can be used by this driver as the X11 driver does. See pxset_xwin_id for more details. However, not all window categories can be passed to OpenGL. There are some restriction on the Visual type and depth necessary to initialize OpenGL. The GPHIGS Motif widget under Motif is able to select the right parameters. The function pxinq_window_params can also be used before creating the window to get the appropriate Visual and depth.


Previous Next Up Title Contents Index Top Library