jingwood / d2dlib

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
MIT License
245 stars 43 forks source link

d2dlib-16-fix-memory-leak-createbitmapfromgdibitmap #17

Closed nicolasdejong closed 4 years ago

nicolasdejong commented 4 years ago

Deleting created hbitmap object in CreateBitmapFromGDIBitmap() returns the memory.

jingwood commented 4 years ago

@nicolasdejong thanks a lot!