From 4059f83b7ec9a449a0edd15ce228d219d0e36022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 3 Aug 2015 14:12:50 +0200 Subject: [PATCH] remove redundant namespace repetition --- OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs b/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs index a8743169ef..71d2b89de0 100644 --- a/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs +++ b/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs @@ -135,7 +135,7 @@ namespace OpenRA.Platforms.Default if (surface == IntPtr.Zero) throw new InvalidDataException("Failed to create surface: {0}".F(SDL.SDL_GetError())); - var sur = (SDL2.SDL.SDL_Surface)Marshal.PtrToStructure(surface, typeof(SDL2.SDL.SDL_Surface)); + var sur = (SDL.SDL_Surface)Marshal.PtrToStructure(surface, typeof(SDL.SDL_Surface)); Marshal.Copy(data, 0, sur.pixels, data.Length); // This call very occasionally fails on Windows, but often works when retried.