1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-09-29 17:57:23 +02:00

Remove making new GraphicsResources object in reloadresources()

This is a very complicated way of zeroing out grphx (instead of using
SDL_zero()), which itself is completely unnecessary because grphx.init()
gets called immediately afterwards anyway.
This commit is contained in:
Misa 2021-02-15 15:58:06 -08:00 committed by Ethan Lee
parent 1140f3cae3
commit c955ce4380

View file

@ -3148,7 +3148,6 @@ bool Graphics::onscreen(int t)
void Graphics::reloadresources()
{
grphx.destroy();
grphx = GraphicsResources();
grphx.init();
#define CLEAR_ARRAY(name) \