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() void Graphics::reloadresources()
{ {
grphx.destroy(); grphx.destroy();
grphx = GraphicsResources();
grphx.init(); grphx.init();
#define CLEAR_ARRAY(name) \ #define CLEAR_ARRAY(name) \