Commit fd31f90
committed
fix(sdl): build SDL backend on all host platforms
Enable the preview.sdl target for any host build, not just Windows, so
the SDL DirectDisplay can be used from Linux/macOS host applications.
- gate preview/sdl on EMIL_HOST_BUILD instead of EMIL_BUILD_WIN
- avoid taking the address of a temporary SDL_Rect in Convert(), which
fails to compile under GCC/Clang with -Werror
- drop a duplicate Colour.hpp include1 parent 85b0f61 commit fd31f90
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments