make the window half of the GLUI window for now

This commit is contained in:
radius 2016-02-14 20:04:31 -05:00
parent 9109ea3dde
commit 80284d760f

View File

@ -1408,6 +1408,7 @@ static void wimp_frame(void *data)
wimp_start(&gui, width, height);
glViewport(0, 0, width, height);
device_draw(&device, &gui.ctx, width, height, ZR_ANTI_ALIASING_ON);
zr_input_motion(&gui, menu_input_mouse_state(MENU_MOUSE_X_AXIS), menu_input_mouse_state(MENU_MOUSE_Y_AXIS));
/* zahnrad code */
menu_display_ctl(MENU_DISPLAY_CTL_RESTORE_CLEAR_COLOR, NULL);