Fix StyleCop warnings in OpenRA.Renderer.Sdl2
This commit is contained in:
@@ -157,11 +157,13 @@ namespace OpenRA.Renderer.Sdl2
|
||||
SDL.SDL_GL_DeleteContext(context);
|
||||
context = IntPtr.Zero;
|
||||
}
|
||||
|
||||
if (window != IntPtr.Zero)
|
||||
{
|
||||
SDL.SDL_DestroyWindow(window);
|
||||
window = IntPtr.Zero;
|
||||
}
|
||||
|
||||
SDL.SDL_Quit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user