- Code: Select all
commandLine->AppendSwitchWithValue("disable-features", "NetworkService");
However, it seems this very line breaks the off-screen rendering. If I remove the line or replace "NetworkService" with an empty string ("") everything works.
However, if I replace "NetworkService" by any non-empty string, it does not work.
When it does not work the function OnPaint() is never called, however GetViewRect() is called very often.