Skip to content

Commit

Permalink
FIX compilation issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
amerkoleci committed May 31, 2021
1 parent 1665bee commit 241e03a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Vortice.Direct3D9/IDirect3DCubeTexture9.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Distributed under the MIT license. See the LICENSE file in the project root for more information.

using System;
using Vortice.Mathematics;
using System.Drawing;

namespace Vortice.Direct3D9
{
Expand Down
8 changes: 4 additions & 4 deletions src/Vortice.Direct3D9/IDirect3DDevice9.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Distributed under the MIT license. See the LICENSE file in the project root for more information.

using System;
using System.Drawing;
using System.Globalization;
using System.Numerics;
using System.Reflection;
using System.Runtime.CompilerServices;
using SharpGen.Runtime;
using Vortice.Direct3D;
using Vortice.Mathematics;
Expand Down Expand Up @@ -135,7 +135,7 @@ public unsafe IDirect3DSurface9 CreateOffscreenPlainSurface(int width, int heigh
/// <param name="color">The color that will be used to fill the cleared render target.</param>
/// <param name="zdepth">The value that will be used to fill the cleared depth buffer.</param>
/// <param name="stencil">The value that will be used to fill the cleared stencil buffer.</param>
public void Clear(ClearFlags clearFlags, Color color, float zdepth, int stencil)
public void Clear(ClearFlags clearFlags, Vortice.Mathematics.Color color, float zdepth, int stencil)
{
Clear_(0, null, clearFlags, Helpers.ToBgra(color), zdepth, stencil);
}
Expand All @@ -160,7 +160,7 @@ public void Clear(ClearFlags clearFlags, System.Drawing.Color color, float zdept
/// <param name="zdepth">The value that will be used to fill the cleared depth buffer.</param>
/// <param name="stencil">The value that will be used to fill the cleared stencil buffer.</param>
/// <param name="rectangles">The areas on the surfaces that will be cleared.</param>
public void Clear(ClearFlags clearFlags, Color color, float zdepth, int stencil, RawRect[] rectangles)
public void Clear(ClearFlags clearFlags, Vortice.Mathematics.Color color, float zdepth, int stencil, RawRect[] rectangles)
{
Clear_(rectangles == null ? 0 : rectangles.Length, rectangles, clearFlags, Helpers.ToBgra(color), zdepth, stencil);
}
Expand All @@ -186,7 +186,7 @@ public void Clear(ClearFlags clearFlags, System.Drawing.Color color, float zdept
/// </remarks>
/// <param name="surface"> Pointer to the surface to be filled. </param>
/// <param name="color"> Color used for filling. </param>
public void ColorFill(IDirect3DSurface9 surface, in Color color)
public void ColorFill(IDirect3DSurface9 surface, in Vortice.Mathematics.Color color)
{
ColorFill(surface, null, Helpers.ToBgra(color));
}
Expand Down
3 changes: 1 addition & 2 deletions src/Vortice.Direct3D9/IDirect3DSurface9.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// Distributed under the MIT license. See the LICENSE file in the project root for more information.

using System;
using System.Runtime.CompilerServices;
using System.Drawing;
using SharpGen.Runtime;
using Vortice.Mathematics;

namespace Vortice.Direct3D9
{
Expand Down
3 changes: 1 addition & 2 deletions src/Vortice.Direct3D9/IDirect3DTexture9.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// Distributed under the MIT license. See the LICENSE file in the project root for more information.

using System;
using System.Runtime.CompilerServices;
using Vortice.Mathematics;
using System.Drawing;

namespace Vortice.Direct3D9
{
Expand Down

0 comments on commit 241e03a

Please sign in to comment.