Oops. Stupid memset..

(always blame the tools)
This commit is contained in:
Godzil
2021-04-06 23:10:30 +01:00
parent 2ced18d151
commit da26704390

View File

@@ -224,7 +224,7 @@ static void initDisplay(GLWindow *g)
static void clearScreen(GLWindow *g)
{
memset(g->videoMemory, 0, sizeof(uint8_t) * g->WIDTH * g->HEIGHT * 4);
memset(g->videoMemory, 0, sizeof(uint16_t) * g->WIDTH * g->HEIGHT);
}
static void updateScreen(GLWindow *g)