Skip to content

Commit

Permalink
⏪Fully revert driver to *private*
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymekk44 committed Sep 25, 2024
1 parent 7456545 commit 9f36cb5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/Cosmos.System2/Graphics/FullScreenCanvas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private enum VideoDriver
VGADriver
}

public static Canvas videoDriver = null;
private static Canvas videoDriver = null;
static readonly PCIDevice svgaIIDevice = PCI.GetDevice(VendorID.VMWare, DeviceID.SVGAIIAdapter);

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion source/Cosmos.System2/Graphics/SVGAIICanvas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class SVGAIICanvas : Canvas
static readonly Mode defaultMode = new(1024, 768, ColorDepth.ColorDepth32);

Mode mode;
readonly VMWareSVGAII driver;
private readonly VMWareSVGAII driver;

/// <summary>
/// Initializes a new instance of the <see cref="SVGAIICanvas"/> class.
Expand Down
2 changes: 1 addition & 1 deletion source/Cosmos.System2/Graphics/VBECanvas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Cosmos.System.Graphics
public class VBECanvas : Canvas
{
static readonly Mode defaultMode = new(1024, 768, ColorDepth.ColorDepth32);
readonly VBEDriver driver;
private readonly VBEDriver driver;
Mode mode;

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion source/Cosmos.System2/Graphics/VGACanvas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Cosmos.System.Graphics
public class VGACanvas : Canvas
{
bool enabled;
readonly VGADriver driver;
private readonly VGADriver driver;

/// <summary>
/// Available VGA supported video modes.
Expand Down

0 comments on commit 9f36cb5

Please sign in to comment.