Skip to content

Commit 241e03a

Browse files
committed
FIX compilation issues.
1 parent 1665bee commit 241e03a

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

src/Vortice.Direct3D9/IDirect3DCubeTexture9.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
33

44
using System;
5-
using Vortice.Mathematics;
5+
using System.Drawing;
66

77
namespace Vortice.Direct3D9
88
{

src/Vortice.Direct3D9/IDirect3DDevice9.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
33

44
using System;
5+
using System.Drawing;
56
using System.Globalization;
67
using System.Numerics;
78
using System.Reflection;
8-
using System.Runtime.CompilerServices;
99
using SharpGen.Runtime;
1010
using Vortice.Direct3D;
1111
using Vortice.Mathematics;
@@ -135,7 +135,7 @@ public unsafe IDirect3DSurface9 CreateOffscreenPlainSurface(int width, int heigh
135135
/// <param name="color">The color that will be used to fill the cleared render target.</param>
136136
/// <param name="zdepth">The value that will be used to fill the cleared depth buffer.</param>
137137
/// <param name="stencil">The value that will be used to fill the cleared stencil buffer.</param>
138-
public void Clear(ClearFlags clearFlags, Color color, float zdepth, int stencil)
138+
public void Clear(ClearFlags clearFlags, Vortice.Mathematics.Color color, float zdepth, int stencil)
139139
{
140140
Clear_(0, null, clearFlags, Helpers.ToBgra(color), zdepth, stencil);
141141
}
@@ -160,7 +160,7 @@ public void Clear(ClearFlags clearFlags, System.Drawing.Color color, float zdept
160160
/// <param name="zdepth">The value that will be used to fill the cleared depth buffer.</param>
161161
/// <param name="stencil">The value that will be used to fill the cleared stencil buffer.</param>
162162
/// <param name="rectangles">The areas on the surfaces that will be cleared.</param>
163-
public void Clear(ClearFlags clearFlags, Color color, float zdepth, int stencil, RawRect[] rectangles)
163+
public void Clear(ClearFlags clearFlags, Vortice.Mathematics.Color color, float zdepth, int stencil, RawRect[] rectangles)
164164
{
165165
Clear_(rectangles == null ? 0 : rectangles.Length, rectangles, clearFlags, Helpers.ToBgra(color), zdepth, stencil);
166166
}
@@ -186,7 +186,7 @@ public void Clear(ClearFlags clearFlags, System.Drawing.Color color, float zdept
186186
/// </remarks>
187187
/// <param name="surface"> Pointer to the surface to be filled. </param>
188188
/// <param name="color"> Color used for filling. </param>
189-
public void ColorFill(IDirect3DSurface9 surface, in Color color)
189+
public void ColorFill(IDirect3DSurface9 surface, in Vortice.Mathematics.Color color)
190190
{
191191
ColorFill(surface, null, Helpers.ToBgra(color));
192192
}

src/Vortice.Direct3D9/IDirect3DSurface9.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
33

44
using System;
5-
using System.Runtime.CompilerServices;
5+
using System.Drawing;
66
using SharpGen.Runtime;
7-
using Vortice.Mathematics;
87

98
namespace Vortice.Direct3D9
109
{

src/Vortice.Direct3D9/IDirect3DTexture9.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
33

44
using System;
5-
using System.Runtime.CompilerServices;
6-
using Vortice.Mathematics;
5+
using System.Drawing;
76

87
namespace Vortice.Direct3D9
98
{

0 commit comments

Comments
 (0)