remove display.h:assert

This commit is contained in:
idea4good 2020-03-15 10:58:53 +08:00
parent add08fdd8c
commit abf331d556
2 changed files with 0 additions and 2 deletions

View File

@ -855,7 +855,6 @@ protected:
}
for (int i = Z_ORDER_LEVEL_0; i < m_max_zorder; i++)
{//Top layber fb always be 0
ASSERT(!m_frame_layers[i].fb);
m_frame_layers[i].fb = (unsigned short*)calloc(m_width * m_height, sizeof(unsigned short));
ASSERT(m_frame_layers[i].fb);
}

View File

@ -543,7 +543,6 @@ protected:
for (int i = Z_ORDER_LEVEL_0; i < m_max_zorder; i++)
{//Top layber fb always be 0
ASSERT(!m_frame_layers[i].fb);
m_frame_layers[i].fb = (unsigned short*)calloc(m_width * m_height, sizeof(unsigned short));
ASSERT(m_frame_layers[i].fb);
}