Skip to content

Commit

Permalink
Merge pull request #121 from bcheronn/bcheronn-patch-1
Browse files Browse the repository at this point in the history
Update Colors.md
  • Loading branch information
W2Wizard authored Nov 13, 2023
2 parents 793401f + 5505912 commit 1c2ddfd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/Colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ In this small example we will create a white image:

```c
#include "MLX42/MLX42.h"
#include <stdlib.h>
#include <string.h>

// Bytes Per Pixel. Since each pixel is represented as an integer, it will be four bytes for four channels.
#define BPP sizeof(int32_t)
Expand Down Expand Up @@ -97,4 +99,4 @@ int32_t main(void)
return (EXIT_SUCCESS);
}

```
```

0 comments on commit 1c2ddfd

Please sign in to comment.