Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_window.c
| Show First 20 Lines • Show All 2,429 Lines • ▼ Show 20 Lines | |||||
| void WM_opengl_context_release(void *context) | void WM_opengl_context_release(void *context) | ||||
| { | { | ||||
| BLI_assert(GPU_framebuffer_active_get() == NULL); | BLI_assert(GPU_framebuffer_active_get() == NULL); | ||||
| GHOST_ReleaseOpenGLContext((GHOST_ContextHandle)context); | GHOST_ReleaseOpenGLContext((GHOST_ContextHandle)context); | ||||
| } | } | ||||
| void WM_ghost_show_message_box(const char *title, | void WM_ghost_show_message_box(const char *title, | ||||
| const char *message, | const char *message, | ||||
| const char *help_label, | |||||
| const char *continue_label, | |||||
| const char *link, | const char *link, | ||||
| GHOST_DialogOptions dialog_options) | GHOST_DialogOptions dialog_options) | ||||
| { | { | ||||
| BLI_assert(g_system); | BLI_assert(g_system); | ||||
| GHOST_ShowMessageBox(g_system, title, message, link, dialog_options); | GHOST_ShowMessageBox(g_system, title, message, help_label, continue_label, link, dialog_options); | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||