jingwood / d2dlib

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

Functions should clear lastErrorCode ? #21

Open fire-eggs opened 4 years ago

fire-eggs commented 4 years ago

Should any function which sets context->lastErrorCode on failure, clear it first?

jingwood commented 4 years ago

Yes, that sounds correct!