Luna Stadler лет назад: 4
Родитель
Сommit
d5f87d627f
2 измененных файлов с 3 добавлено и 2 удалено
  1. 1 0
      c/sdl/.gitignore
  2. 2 2
      c/sdl/README.md

+ 1 - 0
c/sdl/.gitignore

1
/hello_sdl
1
/hello_sdl
2
*.ttf
2
*.ttf
3
/zig-cache

+ 2 - 2
c/sdl/README.md

25
![screenshot of hello\_sdl running](./screenshot.png)
25
![screenshot of hello\_sdl running](./screenshot.png)
26
26
27
And for everything else, see [`hello_sdl.c`](./hello_sdl.c).  To run it
27
And for everything else, see [`hello_sdl.c`](./hello_sdl.c).  To run it
28
run `make` and then run `./hello_sdl`.  Do not that you'll need a TTF
29
font from somewhere and then run it like this:
28
compile it by running make `make` and then run `./hello_sdl`.  Do note
29
that you'll need a TTF font from somewhere and then run it like this:
30
30
31
```
31
```
32
./hello_sdl /usr/share/fonts/TTF/DejaVuSerif.ttf
32
./hello_sdl /usr/share/fonts/TTF/DejaVuSerif.ttf