Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_C-api.h
| Context not available. | |||||
| * Create a new offscreen context. | * Create a new offscreen context. | ||||
| * Never explicitly delete the context, use disposeContext() instead. | * Never explicitly delete the context, use disposeContext() instead. | ||||
| * \param systemhandle The handle to the system | * \param systemhandle The handle to the system | ||||
| * \param platform_support_callback An optional callback to check platform support | |||||
| * \return A handle to the new context ( == NULL if creation failed). | * \return A handle to the new context ( == NULL if creation failed). | ||||
| */ | */ | ||||
| extern GHOST_ContextHandle GHOST_CreateOpenGLContext(GHOST_SystemHandle systemhandle); | extern GHOST_ContextHandle GHOST_CreateOpenGLContext( | ||||
| GHOST_SystemHandle systemhandle, GHOST_PlatformSupportCallbackPtr platform_support_callback); | |||||
| /** | /** | ||||
| * Dispose of a context. | * Dispose of a context. | ||||
| Context not available. | |||||