Skip to content

Commit

Permalink
Fixed bug 3816 - asm code in video/SDL_stretch.c
Browse files Browse the repository at this point in the history
Sylvain

I propose this new version for SDL_stretch.c that drops mprotect and asm

Code is similar to the StretchLinear, but the steps computation are kept similar to the nearest.
so that:
- it's pixel perfect with nearest
- as fast as asm I think
- no asm, nor mprotect
- benefit for all archicture
  • Loading branch information
slouken committed Feb 10, 2021
1 parent d81eaf8 commit 24d6fda
Showing 1 changed file with 136 additions and 290 deletions.

0 comments on commit 24d6fda

Please sign in to comment.