Tested with trianle new window interface (win32)