mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove default argument from loadFileToMemory()
Default function arguments are the devil, and it's better to be more explicit about what you're passing into the function. Also because we might become C-only in the future and to help faciliate that, we should get rid of C++-isms like default function arguments now.
This commit is contained in:
@@ -364,7 +364,7 @@ void Graphics::Makebfont(void)
|
||||
|
||||
unsigned char* charmap = NULL;
|
||||
size_t length;
|
||||
FILESYSTEM_loadFileToMemory("graphics/font.txt", &charmap, &length);
|
||||
FILESYSTEM_loadFileToMemory("graphics/font.txt", &charmap, &length, false);
|
||||
if (charmap != NULL)
|
||||
{
|
||||
unsigned char* current = charmap;
|
||||
|
||||
Reference in New Issue
Block a user