Hello.
Tell me what is more efficient to use for Multiple Buffering:
VM_MULTIBUF_Enable (1);
or for each dialog, window
static void _cbStatus(WM_MESSAGE * pMsg)
{
...
switch (pMsg->MsgId)
{
case WM_PRE_PAINT:
GUI_MULTIBUF_Begin();
break;
case WM_POST_PAINT:
GUI_MULTIBUF_End();
break; ...
}
}
Tell me what is more efficient to use for Multiple Buffering:
VM_MULTIBUF_Enable (1);
or for each dialog, window
static void _cbStatus(WM_MESSAGE * pMsg)
{
...
switch (pMsg->MsgId)
{
case WM_PRE_PAINT:
GUI_MULTIBUF_Begin();
break;
case WM_POST_PAINT:
GUI_MULTIBUF_End();
break; ...
}
}
The post was edited 1 time, last by Raash ().