diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-12-25 07:24:17 +0100 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-12-25 07:24:17 +0100 |
| commit | 475996af26408156486faa43682f7effdabfa156 (patch) | |
| tree | 571bd3934c7a312ab032e20e7111bf81d93f4ff7 /src/screen.h | |
| parent | 3924115080f5332d8e452494af21be7b47b6bac6 (diff) | |
Minor changes
Diffstat (limited to 'src/screen.h')
| -rw-r--r-- | src/screen.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h index 67d6184..d239c0d 100644 --- a/src/screen.h +++ b/src/screen.h @@ -1,3 +1,5 @@ +#pragma once + #include "raylib.h" #define MODE_CHIP8 0 // Chip-8 64x32 @@ -13,6 +15,6 @@ typedef struct SCREEN_DATA { void ScreenInit(int width, int height); void ScreenClear(); -void ScreenSetPixel(int x, int y, char state); +void ScreenSetPixel(int x, int y, unsigned char state); void ScreenUpdate(); void ScreenClose(); |
