mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
On every texel access, some floating point instructions involved in copying 4 floats popped up. Let `Image::texel() const` return a `FloatVector4 const&` to prevent these operations. This results in a ~7% FPS increase in GLQuake on my machine.
2.6 KiB
2.6 KiB