mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-17 16:39:42 +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()
|
void Graphics::reloadresources()
|
||||||
{
|
{
|
||||||
grphx.destroy();
|
grphx.destroy();
|
||||||
grphx = GraphicsResources();
|
|
||||||
grphx.init();
|
grphx.init();
|
||||||
|
|
||||||
#define CLEAR_ARRAY(name) \
|
#define CLEAR_ARRAY(name) \
|
||||||
|
|
Loading…
Reference in a new issue