diff --git a/GuiLite.h b/GuiLite.h index 75f14a1..c43de49 100644 --- a/GuiLite.h +++ b/GuiLite.h @@ -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); } diff --git a/workspace/core_include/display.h b/workspace/core_include/display.h index 5565570..5662c8e 100644 --- a/workspace/core_include/display.h +++ b/workspace/core_include/display.h @@ -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); }