This commit is contained in:
idea4good 2019-09-28 10:52:00 +08:00
parent ee6fa86cbb
commit b75960f2f3
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ c_display::c_display(void* phy_fb, unsigned int display_width, unsigned int disp
c_surface* c_display::alloc_surface(Z_ORDER_LEVEL max_zorder)
{
if(max_zorder >= Z_ORDER_LEVEL_MAX || m_surface_index >= m_surface_cnt);
if(max_zorder >= Z_ORDER_LEVEL_MAX || m_surface_index >= m_surface_cnt)
{
ASSERT(false);
return 0;