mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-10 19:09:45 +01: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:
parent
1140f3cae3
commit
c955ce4380
1 changed files with 0 additions and 1 deletions
|
@ -3148,7 +3148,6 @@ bool Graphics::onscreen(int t)
|
|||
void Graphics::reloadresources()
|
||||
{
|
||||
grphx.destroy();
|
||||
grphx = GraphicsResources();
|
||||
grphx.init();
|
||||
|
||||
#define CLEAR_ARRAY(name) \
|
||||
|
|
Loading…
Reference in a new issue