Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_C-api.cpp
| Context not available. | |||||
| system->getAllDisplayDimensions(*width, *height); | system->getAllDisplayDimensions(*width, *height); | ||||
| } | } | ||||
| GHOST_ContextHandle GHOST_CreateOpenGLContext(GHOST_SystemHandle systemhandle) | GHOST_ContextHandle GHOST_CreateOpenGLContext( | ||||
| GHOST_SystemHandle systemhandle, GHOST_PlatformSupportCallbackPtr platform_support_callback) | |||||
| { | { | ||||
| GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; | GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; | ||||
| return (GHOST_ContextHandle)system->createOffscreenContext(); | return (GHOST_ContextHandle)system->createOffscreenContext(platform_support_callback); | ||||
| } | } | ||||
| GHOST_TSuccess GHOST_DisposeOpenGLContext(GHOST_SystemHandle systemhandle, | GHOST_TSuccess GHOST_DisposeOpenGLContext(GHOST_SystemHandle systemhandle, | ||||
| Context not available. | |||||