Check framebuffer function struct
This commit is contained in:
parent
ec8b1613fe
commit
261d49b489
@ -623,7 +623,8 @@ int drm_set_indicator(size_t idx, char c)
|
|||||||
{
|
{
|
||||||
struct drm_clip_rect dirty_rect;
|
struct drm_clip_rect dirty_rect;
|
||||||
|
|
||||||
if (!g_panel || !g_panel->fb || !g_panel->fb->funcs->dirty) {
|
if (!g_panel || !g_panel->fb || !g_panel->fb->funcs
|
||||||
|
|| !g_panel->fb->funcs->dirty) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user