You could call flush (or even TransformDrawEngine::DoFlush) directly instead of going through this little wrapper. IIRC, you just put the "this" pointer in ECX / RCX.