Skip to content

Commit

Permalink
Move things around a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Sep 18, 2024
1 parent 83f3751 commit a197431
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Tests/Framework/Graphics/GraphicsAdapterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
using Microsoft.Xna.Framework.Graphics;
using NUnit.Framework;

// HACK: Only enable for XNA and DirectX which are the
// only platforms which currently correctly implement
// the GraphicsAdapter API.
#if XNA || DIRECTX

namespace MonoGame.Tests.Graphics
{
[TestFixture]
class GraphicsAdapterTest
{
// HACK: Only enable for XNA and DirectX which are the
// only platforms which currently correctly implement
// the GraphicsAdapter API.
#if XNA || DIRECTX
private static bool Equals(DisplayMode m1, DisplayMode m2)
{
return m1.Width == m2.Width &&
Expand Down Expand Up @@ -138,7 +138,8 @@ public static void QueryRenderTargetFormat_preferredSurface(GraphicsProfile grap
Assert.AreEqual(selectedDepthFormat, DepthFormat.None);
Assert.AreEqual(selectedMultiSampleCount, 0);
}
#endif // XNA || DIRECTX
}
}

#endif // XNA || DIRECTX

0 comments on commit a197431

Please sign in to comment.