From 9ad18583fee53df0aea5be56e5486e82b5061124 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Mon, 18 May 2015 12:31:54 +0100 Subject: [PATCH] Remove NO_SYSDRAWING, replace with MINIMAL --- Source/OpenTK/Graphics/ES20/Helper.cs | 2 +- Source/OpenTK/Graphics/ES30/Helper.cs | 2 +- Source/OpenTK/Graphics/OpenGL/GLHelper.cs | 2 +- Source/OpenTK/Graphics/OpenGL4/Helper.cs | 2 +- Source/OpenTK/Math/Point.cs | 2 +- Source/OpenTK/Math/Rectangle.cs | 2 +- Source/OpenTK/Math/Size.cs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/OpenTK/Graphics/ES20/Helper.cs b/Source/OpenTK/Graphics/ES20/Helper.cs index cf0556be..2c995675 100644 --- a/Source/OpenTK/Graphics/ES20/Helper.cs +++ b/Source/OpenTK/Graphics/ES20/Helper.cs @@ -437,7 +437,7 @@ namespace OpenTK.Graphics.ES20 { GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); } -#if NO_SYSDRAWING +#if MINIMAL public static void Viewport(OpenTK.Point location, OpenTK.Size size) { GL.Viewport(location.X, location.Y, size.Width, size.Height); diff --git a/Source/OpenTK/Graphics/ES30/Helper.cs b/Source/OpenTK/Graphics/ES30/Helper.cs index 9a289b84..d1364e7b 100644 --- a/Source/OpenTK/Graphics/ES30/Helper.cs +++ b/Source/OpenTK/Graphics/ES30/Helper.cs @@ -428,7 +428,7 @@ namespace OpenTK.Graphics.ES30 { GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); } -#if NO_SYSDRAWING +#if MINIMAL public static void Viewport(OpenTK.Point location, OpenTK.Size size) { GL.Viewport(location.X, location.Y, size.Width, size.Height); diff --git a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs index db3815c3..98b1235e 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs @@ -1101,7 +1101,7 @@ namespace OpenTK.Graphics.OpenGL { GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); } -#if NO_SYSDRAWING +#if MINIMAL public static void Viewport(OpenTK.Point location, OpenTK.Size size) { GL.Viewport(location.X, location.Y, size.Width, size.Height); diff --git a/Source/OpenTK/Graphics/OpenGL4/Helper.cs b/Source/OpenTK/Graphics/OpenGL4/Helper.cs index bb2c2540..8a8ca1cb 100644 --- a/Source/OpenTK/Graphics/OpenGL4/Helper.cs +++ b/Source/OpenTK/Graphics/OpenGL4/Helper.cs @@ -437,7 +437,7 @@ namespace OpenTK.Graphics.OpenGL4 { GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); } -#if NO_SYSDRAWING +#if MINIMAL public static void Viewport(OpenTK.Point location, OpenTK.Size size) { GL.Viewport(location.X, location.Y, size.Width, size.Height); diff --git a/Source/OpenTK/Math/Point.cs b/Source/OpenTK/Math/Point.cs index 67613933..3fad9e1e 100644 --- a/Source/OpenTK/Math/Point.cs +++ b/Source/OpenTK/Math/Point.cs @@ -31,7 +31,7 @@ using System.Text; namespace OpenTK { -#if NO_SYSDRAWING +#if MINIMAL /// /// Defines a point on a two-dimensional plane. /// diff --git a/Source/OpenTK/Math/Rectangle.cs b/Source/OpenTK/Math/Rectangle.cs index 0b3a28dd..b414b535 100644 --- a/Source/OpenTK/Math/Rectangle.cs +++ b/Source/OpenTK/Math/Rectangle.cs @@ -31,7 +31,7 @@ using System.Text; namespace OpenTK { -#if NO_SYSDRAWING +#if MINIMAL /// /// Represents a rectangular region on a two-dimensional plane. /// diff --git a/Source/OpenTK/Math/Size.cs b/Source/OpenTK/Math/Size.cs index baadb4bc..5b0ef87f 100644 --- a/Source/OpenTK/Math/Size.cs +++ b/Source/OpenTK/Math/Size.cs @@ -31,7 +31,7 @@ using System.Text; namespace OpenTK { -#if NO_SYSDRAWING +#if MINIMAL /// /// Stores the width and height of a rectangle. ///