Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_window.c
| Context not available. | |||||
| #include "wm.h" | #include "wm.h" | ||||
| #include "wm_draw.h" | #include "wm_draw.h" | ||||
| #include "wm_files.h" | #include "wm_files.h" | ||||
| #include "wm_platform_support.h" | |||||
| #include "wm_window.h" | #include "wm_window.h" | ||||
| #include "wm_event_system.h" | #include "wm_event_system.h" | ||||
| Context not available. | |||||
| */ | */ | ||||
| BLI_assert(BLI_thread_is_main()); | BLI_assert(BLI_thread_is_main()); | ||||
| BLI_assert(GPU_framebuffer_active_get() == NULL); | BLI_assert(GPU_framebuffer_active_get() == NULL); | ||||
| return GHOST_CreateOpenGLContext(g_system); | return GHOST_CreateOpenGLContext(g_system, wm_platform_support_ghost_callback); | ||||
| } | } | ||||
| void WM_opengl_context_dispose(void *context) | void WM_opengl_context_dispose(void *context) | ||||
| Context not available. | |||||