Draw: Add type ColorRgba and use uint8_t instead of unsigned char.

This commit is contained in:
2024-10-06 14:55:06 +02:00
parent 1b8dd0f080
commit 6114e885d0
6 changed files with 383 additions and 381 deletions

View File

@@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
/////////////////////////////
// Load and initialize media.
//
font = Draw_DefaultFont(255, 255, 255, 255);
font = Draw_DefaultFont((ColorRgba){255, 255, 255, 255});
imgBackground = Draw_LoadImage("data/background.png");
Draw_SetOffset(imgBackground, 0, 0);
GameEnts_Init();