Closed zhouxl6 closed 6 years ago
LCUI_DestroyLinuxDisplayDriver 函数中 关于 LCUI_DestroyLinuxFBDisplayDriver 调用前的宏定义是否应该 LCUI_VIDEO_DRIVER_FRAMEBUFFER 而不是 LCUI_VIDEO_DRIVER_X11 ?
https://github.com/lc-soft/LCUI/blob/6015838d00366fd1235ec2e34976ba061506e62f/src/platform/linux/linux_display.c#L62-L74
即:
#ifdef LCUI_VIDEO_DRIVER_X11 case X11: LCUI_DestroyLinuxX11DisplayDriver( driver ); break; #endif - #ifdef LCUI_VIDEO_DRIVER_X11 + #ifdef LCUI_VIDEO_DRIVER_FRAMEBUFFER case FRAMEBUFFER: LCUI_DestroyLinuxFBDisplayDriver( driver ); break; #endif
You can create a Pull Request.
LCUI_DestroyLinuxDisplayDriver 函数中 关于 LCUI_DestroyLinuxFBDisplayDriver 调用前的宏定义是否应该 LCUI_VIDEO_DRIVER_FRAMEBUFFER 而不是 LCUI_VIDEO_DRIVER_X11 ?
https://github.com/lc-soft/LCUI/blob/6015838d00366fd1235ec2e34976ba061506e62f/src/platform/linux/linux_display.c#L62-L74
即: