Files
ladybird/Userland/Libraries/LibGL/Tex/Sampler2D.cpp
Stephan Unverwerth 39ff1459f8 LibGL: Improve texture sampling performance
GL_NEAREST: Remove unnecessary modulo. UV is always in range due to
wrapping.
GL_LINEAR: Rewrite filter equation to save a few math operations.
2021-08-18 20:30:58 +02:00

2.6 KiB