diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-04-09 10:45:00 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-04-09 10:45:00 +0200 |
| commit | 93f1e31070740245169f102fcd481501bd102f0b (patch) | |
| tree | afaacc47ab3f71ee608c1fb88a8f5c71cbcdc3da /content/notes | |
| parent | e6a082bbb784d5ca9c74856eb961541defc295ef (diff) | |
| download | mitjafelicijan.com-93f1e31070740245169f102fcd481501bd102f0b.tar.gz | |
Fix typo
Diffstat (limited to 'content/notes')
| -rw-r--r-- | content/notes/2025-04-08-embedding-game-assets-within-your-binary.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/notes/2025-04-08-embedding-game-assets-within-your-binary.md b/content/notes/2025-04-08-embedding-game-assets-within-your-binary.md index 65f5813..8200f14 100644 --- a/content/notes/2025-04-08-embedding-game-assets-within-your-binary.md +++ b/content/notes/2025-04-08-embedding-game-assets-within-your-binary.md | |||
| @@ -226,12 +226,12 @@ Below is a quick example how to use this new directive. | |||
| 226 | #include <stdio.h> | 226 | #include <stdio.h> |
| 227 | 227 | ||
| 228 | const uint8_t image_data[] = { | 228 | const uint8_t image_data[] = { |
| 229 | #embed "image.png" | 229 | #embed "image.png" |
| 230 | }; | 230 | }; |
| 231 | 231 | ||
| 232 | int main(void) { | 232 | int main(void) { |
| 233 | printf("Image size: %d bytes\n", sizeof(image_data)); | 233 | printf("Image size: %d bytes\n", sizeof(image_data)); |
| 234 | return 0; | 234 | return 0; |
| 235 | } | 235 | } |
| 236 | ``` | 236 | ``` |
| 237 | 237 | ||
