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,2 +1,3 @@
1 1
/hello_sdl
2 2
*.ttf
3
/zig-cache

+ 2 - 2
c/sdl/README.md

@ -25,8 +25,8 @@ This is how it looks after those initial few hours:
25 25
![screenshot of hello\_sdl running](./screenshot.png)
26 26
27 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 32
./hello_sdl /usr/share/fonts/TTF/DejaVuSerif.ttf