diff options
| author | kkard2 <[email protected]> | 2025-09-07 11:16:17 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2025-09-07 11:16:17 +0200 |
| commit | fb416edfbdae410d993e0504f2e9f7deb6367a20 (patch) | |
| tree | a416aa5b6998eb6429d321bb33a16cbd1bc1a1e4 /examples | |
| parent | 14288e6b15e8c8a61ccfcf859583268529776f11 (diff) | |
fix cl.exe warnings
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/texture.c | 2 |
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++) { |
