jingwood / d2dlib

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

GetLastErrorCode not properly exported from D2DLib #22

Closed fire-eggs closed 4 years ago

fire-eggs commented 4 years ago

In d2dlib\Context.h, this line: D2DLIB_API HRESULT GetLastResult(); should be this: D2DLIB_API HRESULT GetLastErrorCode(HANDLE ctx);

jingwood commented 4 years ago

Thanks! I will fix this!