From 788def1c31c61213e805b7289e91a2b94e5dd602 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 19 Dec 2015 22:23:52 +0000 Subject: [PATCH] Remove Quad rendering support. --- OpenRA.Game/Graphics/IGraphicsDevice.cs | 1 - OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/OpenRA.Game/Graphics/IGraphicsDevice.cs b/OpenRA.Game/Graphics/IGraphicsDevice.cs index 36cd2d8abe..5c89effca3 100644 --- a/OpenRA.Game/Graphics/IGraphicsDevice.cs +++ b/OpenRA.Game/Graphics/IGraphicsDevice.cs @@ -123,7 +123,6 @@ namespace OpenRA PointList, LineList, TriangleList, - QuadList, } public struct Range diff --git a/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs b/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs index f0824c25fd..b7483e9f82 100644 --- a/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs +++ b/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs @@ -210,7 +210,6 @@ namespace OpenRA.Platforms.Default case PrimitiveType.PointList: return BeginMode.Points; case PrimitiveType.LineList: return BeginMode.Lines; case PrimitiveType.TriangleList: return BeginMode.Triangles; - case PrimitiveType.QuadList: return BeginMode.Quads; } throw new NotImplementedException();