summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/texture.c b/examples/texture.c
index 1a4382a..d6bee54 100644
--- a/examples/texture.c
+++ b/examples/texture.c
@@ -21,7 +21,7 @@ void init() {
}
texture.stride = texture.width;
- texture.pixels = data; // NOTE(kard): be careful if changing following loop
+ texture.pixels = (uint32_t *)data; // NOTE(kard): be careful if changing following loop
// converting from stbi's RGBA to ARGB
for (size_t i = 0; i < texture.width * texture.height; i++) {