Logo Search packages:      
Sourcecode: blender version File versions

GHOST_TSuccess GHOST_SwapWindowBuffers ( GHOST_WindowHandle  windowhandle  ) 

Swaps front and back buffers of a window.

Parameters:
windowhandle The handle to the window
Returns:
An intean success indicator.

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

References GHOST_SwapWindowBuffers(), and GHOST_IWindow::swapBuffers().

Referenced by GHOST_SwapWindowBuffers().

{
      GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;

      return window->swapBuffers();
}


Generated by  Doxygen 1.6.0   Back to index