1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Fix brace style of Graphics::reloadresources()

It should be next-line brace, not same-line brace. Even in a codebase
that uses same-line braces everywhere, I still prefer having next-line
braces inside functions (because they're at the top level, and you can't
next them). But regardless, this should still be next-line brace like
(most of) the rest of the codebase.
This commit is contained in:
Misa 2021-02-15 15:38:41 -08:00 committed by Ethan Lee
parent 7ffafc8f4d
commit 1140f3cae3

View file

@ -3145,7 +3145,8 @@ bool Graphics::onscreen(int t)
return (t >= -40 && t <= 280); return (t >= -40 && t <= 280);
} }
void Graphics::reloadresources() { void Graphics::reloadresources()
{
grphx.destroy(); grphx.destroy();
grphx = GraphicsResources(); grphx = GraphicsResources();
grphx.init(); grphx.init();