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

Fixed 2x2 upscaling performance #103

Closed Dawoodoz closed 2 months ago

Dawoodoz commented 2 months ago

No SIMD was needed, so the SIMD hardware abstraction layer can remain minimal. It was just an old ifdef that should have been removed, causing the dynamic pixel size to be used instead of the one optimized for 2x2 pixels.

Also got rid of a compiler warning that was distracting.