Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_draw.c
| Context not available. | |||||
| CTX_wm_menu_set(C, ar); | CTX_wm_menu_set(C, ar); | ||||
| if (ar->type && ar->type->layout) { | if (ar->type && ar->type->layout) { | ||||
| /* UI code reads the OpenGL state, but we have to refesh | /* UI code reads the OpenGL state, but we have to refresh | ||||
| * the UI layout beforehand in case the menu size changes. */ | * the UI layout beforehand in case the menu size changes. */ | ||||
| wmViewport(&ar->winrct); | wmViewport(&ar->winrct); | ||||
| ar->type->layout(C, ar); | ar->type->layout(C, ar); | ||||
| Context not available. | |||||