#GPU mem leak

3 messages · Page 1 of 1 (latest)

vast nebula
#

I'm trying to figure why i'm getting GPU memory leak on this code.

I checked using System Informer, at "Gpu Dedicated bytes" the memory usage increases on each loop iteration.

I thought it was a missing call to CloseHandle(hDxSurface);, but this throws an exception.

I'm not sure what else is causing the leak.

uneven blade
#

for every Map, there needs to be a Unmap