Add Image::diff.

Fixed inavalid memory access due to double free in FontBMP and FontSprite.
Added FontRendering unit-tests.
This commit is contained in:
Martín Lucas Golini
2025-10-25 00:56:05 -03:00
parent d033102d20
commit af5daa4717
11 changed files with 517 additions and 42 deletions
+6 -2
View File
@@ -16,7 +16,7 @@ jobs:
git submodule update --init --recursive
- name: Install dependencies
run: |
brew install wget SDL2 premake
brew install wget SDL2 premake mesa
- name: Build
run: |
premake5 --with-text-shaper --disable-static-build gmake
@@ -24,5 +24,9 @@ jobs:
- name: Unit Tests
run: |
cd bin/unit_tests
export LIBGL_ALWAYS_SOFTWARE=1
export GALLIUM_DRIVER=llvmpipe
export SDL_VIDEODRIVER=cocoa
./eepp-unit_tests
env:
DYLD_LIBRARY_PATH: /opt/homebrew/lib # Ensures Mesa's libGL is used