mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Remove duplicate graphics.Makebfont() in main()
This call to Makebfont() always existed, but ever since 2.3's per-level custom assets were added, graphics.reloadresources() also calls graphics.Makebfont(), meaning this call is unnecessary. Calling it twice results in graphics.bfont and graphics.flipbfont having twice the number of elements, until custom assets get mounted (or unmounted, technically).
This commit is contained in:
parent
adbab6355b
commit
afba320083
1 changed files with 0 additions and 2 deletions
|
@ -265,8 +265,6 @@ int main(int argc, char *argv[])
|
|||
SDL_SetSurfaceBlendMode(graphics.ghostbuffer, SDL_BLENDMODE_BLEND);
|
||||
SDL_SetSurfaceAlphaMod(graphics.ghostbuffer, 127);
|
||||
|
||||
graphics.Makebfont();
|
||||
|
||||
graphics.foregroundBuffer = CREATE_SURFACE(320, 240);
|
||||
SDL_SetSurfaceBlendMode(graphics.foregroundBuffer, SDL_BLENDMODE_BLEND);
|
||||
|
||||
|
|
Loading…
Reference in a new issue