remove redundant namespace repetition

This commit is contained in:
Matthias Mailänder
2015-08-03 14:12:50 +02:00
parent bfc7013ba4
commit 4059f83b7e

View File

@@ -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.