I use few (3)
DrawNode objects in my cpp code to draw some lines and rectangles. Every frame I clean
DrawNode and draw new primitives.
After migrating from (ndk-r15 and cocos 3.16) to (ndk-r16 and cocos 3.17.2) there appeared screen flicker/blink on Samsung device only. After some time all drawing primitives disappear for ever. Sometimes they do not appear at app start.
Any hint, how to fix that?
Seems, the workaround is:
//DrawNode * m_dn_background;
m_dn_background = 0;
m_dn_background = DrawNode::create();
at every redraw, instead of