fix rectangle update issue in the end of hardware dc drawing.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@677 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
e2e93e7251
commit
298a15f31a
|
@ -201,7 +201,7 @@ static rt_bool_t rtgui_dc_hw_fini(struct rtgui_dc* dc)
|
|||
/* send to server to end drawing */
|
||||
struct rtgui_event_update_end eupdate;
|
||||
RTGUI_EVENT_UPDATE_END_INIT(&(eupdate));
|
||||
eupdate.rect = RTGUI_WIDGET(top)->extent;
|
||||
eupdate.rect = hw->owner->extent;
|
||||
|
||||
rtgui_thread_send(top->server, (struct rtgui_event*)&eupdate, sizeof(eupdate));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue