Watch
2
0
Fork
You've already forked raylib-cs
0

Fix usage of uint

This commit is contained in:
Rgebee 2024-05-25 09:18:36 +01:00
commit bcf6a479b0
7 changed files with 33 additions and 33 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++)