diff --git a/src/gui/oglinit.c b/src/gui/oglinit.c index 734c5cf..e291dca 100644 --- a/src/gui/oglinit.c +++ b/src/gui/oglinit.c @@ -132,8 +132,8 @@ void oglinit(STATE_T * state) { dispman_display = vc_dispmanx_display_open(0 /* LCD */ ); dispman_update = vc_dispmanx_update_start(0); - dispman_element = vc_dispmanx_element_add(dispman_update, dispman_display, 0 /*layer */ , &dst_rect, 0 /*src */ , - &src_rect, DISPMANX_PROTECTION_NONE, &alpha, 0 /*clamp */ , + dispman_element = vc_dispmanx_element_add(dispman_update, dispman_display, 1 /*layer */ , &dst_rect, 0 /*src */ , + &src_rect, DISPMANX_PROTECTION_NONE, 0/*&alpha*/, 0 /*clamp */ , 0 /*transform */ ); state->element = dispman_element;