Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_playanim.c
| Show First 20 Lines • Show All 1,543 Lines • ▼ Show 20 Lines | if (ibuf == NULL) { | ||||
| playanim_window_open("Blender Animation Player", start_x, start_y, ibuf->x, ibuf->y); | playanim_window_open("Blender Animation Player", start_x, start_y, ibuf->x, ibuf->y); | ||||
| } | } | ||||
| GHOST_GetMainDisplayDimensions(g_WS.ghost_system, &maxwinx, &maxwiny); | GHOST_GetMainDisplayDimensions(g_WS.ghost_system, &maxwinx, &maxwiny); | ||||
| // GHOST_ActivateWindowDrawingContext(g_WS.ghost_window); | // GHOST_ActivateWindowDrawingContext(g_WS.ghost_window); | ||||
| /* initialize OpenGL immediate mode */ | /* initialize OpenGL immediate mode */ | ||||
| g_WS.gpu_context = GPU_context_create(g_WS.ghost_window); | g_WS.gpu_context = GPU_context_create(g_WS.ghost_window, NULL); | ||||
| GPU_init(); | GPU_init(); | ||||
| /* initialize the font */ | /* initialize the font */ | ||||
| BLF_init(); | BLF_init(); | ||||
| BLF_load_font_stack(); | BLF_load_font_stack(); | ||||
| ps.fontid = BLF_load_mono_default(false); | ps.fontid = BLF_load_mono_default(false); | ||||
| BLF_size(ps.fontid, 11.0f, 72); | BLF_size(ps.fontid, 11.0f, 72); | ||||
| ▲ Show 20 Lines • Show All 327 Lines • Show Last 20 Lines | |||||