Dawoodoz / DFPSR

Fast realtime softare rendering library for C++14 using SSE/AVX/NEON. 2D, 3D and isometric rendering with minimal system dependencies.
https://dawoodoz.com/dfpsr.html
78 stars 6 forks source link

Allowing buffers to be empty and other fixes #57

Closed Dawoodoz closed 1 year ago

Dawoodoz commented 1 year ago

To allow a buffer to correctly represent both memory allocations and files, empty buffers are now allowed by allocating them with size zero. If you only have applications without any exception catching, this will likely not break backwards compatibility. If you are making a library however, taking buffers as input should consider all features that the caller might use.