Logo Search packages:      
Sourcecode: blender version File versions

GHOST_TSuccess GHOST_SetDrawingContextType ( GHOST_WindowHandle  windowhandle,
GHOST_TDrawingContextType  type 

Tries to install a rendering context in this window.

windowhandle The handle to the window
type The type of rendering context installed.
Indication as to whether installation has succeeded.

Definition at line 473 of file GHOST_C-api.cpp.

References GHOST_SetDrawingContextType(), and GHOST_IWindow::setDrawingContextType().

Referenced by GHOST_SetDrawingContextType().

      GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;

      return window->setDrawingContextType(type);

Generated by  Doxygen 1.6.0   Back to index