mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-06 18:31:57 +08:00
tune
This commit is contained in:
@@ -2347,6 +2347,7 @@ int init_minigui_printf (int (*output_char) (int ch),
|
||||
#define _ERR_PRINTF(fmt, ...) \
|
||||
do { \
|
||||
TCS_RED (stderr); \
|
||||
fprintf (stderr, "%s: ", __FUNCTION__); \
|
||||
fprintf (stderr, fmt, ##__VA_ARGS__); \
|
||||
TCS_NONE (stderr); \
|
||||
} while (0)
|
||||
|
||||
@@ -2449,7 +2449,8 @@ static void update_real_screen_helper(_THIS)
|
||||
#endif
|
||||
|
||||
BOOL hw_ok = FALSE;
|
||||
if (real_buff && shadow_buff && vdata->driver_ops->copy_buff) {
|
||||
if (real_buff && shadow_buff && vdata->driver &&
|
||||
vdata->driver_ops->copy_buff) {
|
||||
GAL_Rect rect = {
|
||||
this->hidden->update_rect.left,
|
||||
this->hidden->update_rect.top,
|
||||
|
||||
Reference in New Issue
Block a user