DrNseven / D3D11-Wallhack

d3d11 hook x86/x64
376 stars 152 forks source link

Memory leak #14

Closed ghost closed 5 years ago

ghost commented 5 years ago

Injecting this into a process overtime takes up all of my ram very quickly.

cxmplex commented 5 years ago

Add this to the bottom of your DrawIndexed:

        SAFE_RELEASE(rDEPTHBIASState);
        SAFE_RELEASE(rNORMALState);

That fixes it for me.

cxmplex commented 5 years ago

Nevermind, this simply slows it. I'll do some more digging.