CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.93k stars 554 forks source link

Cannot use 1280*960 colordepth 32 for VBECanvas #2112

Closed penguin-number-123 closed 2 years ago

penguin-number-123 commented 2 years ago

Area of Cosmos - What area of Cosmos are we dealing with?

Graphic, specifically VBECanvas

Expected Behaviour - What do you think that should happen?

It should display a azure screen with a simple mouse (Like in Canvas)

Actual Behaviour - What unexpectedly happens?

It does not appear to enter Graphic mode.

Reproduction - How did you get this error to appear?

VBECanvas canvas = new(new(1280,960,(ColorDepth)32)); The problem is I do not know the supported things, as it is still listed

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Userkit, latest.

penguin-number-123 commented 2 years ago

image

quajak commented 2 years ago

The supported modes are listed here. https://github.com/CosmosOS/Cosmos/blob/d1ac2c20cb7448c09dcbad19da50d684520d72bf/source/Cosmos.System2/Graphics/VBECanvas.cs#L129