2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Fix usage of uint in bindings (#246)

This commit is contained in:
2024-05-25 10:34:38 +01:00
committed by GitHub
parent 5949934932
commit 383ec91e95
8 changed files with 36 additions and 36 deletions

View File

@ -44,7 +44,7 @@ public class RawData
int height = 480;
// Store pixel data
Color* pixels = (Color*)Raylib.MemAlloc(width * height * sizeof(Color));
Color* pixels = (Color*)Raylib.MemAlloc((uint)(width * height * sizeof(Color)));
for (int y = 0; y < height; y++)
{
for (int x = 0; x < width; x++)