C# Full Screen Issues

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
pyro9219
Posts: 14
Joined: Mon Aug 29, 2005 2:10 pm
Location: Portland, Oregon

C# Full Screen Issues

Post by pyro9219 »

Anyone know why changing the bool for FullScreen isn't working? DX8/9 Crash out when loading, and oGL will instance a borderless window of defined resolution in the 0,0 location on the screen, but not stretch or whatever and cover the rest of the screen.

Sample Code that crashed:
device = new IrrlichtDevice(DriverType.DIRECTX9, new Dimension2D(798, 598), 0x10, false, true, false);

red code should be the bool for fullscreen. Thanks for any help!
Elise
Posts: 48
Joined: Tue Jul 19, 2005 6:30 am
Contact:

Post by Elise »

Maybe try using sensible screen dimension like f.ex. 800 x 600? Don't know much about C# though. :?
pyro9219
Posts: 14
Joined: Mon Aug 29, 2005 2:10 pm
Location: Portland, Oregon

It worked!

Post by pyro9219 »

ok, setting a realmode resolution made fullscreen work fine!

Explanation for the odd resolution above:
When I watch the console, the screen resolution when using:

device = new IrrlichtDevice(DriverType.DIRECTX9, new Dimension2D(800, 600), 0x10, true, true, false);

this creates a screen in 802x602, so I compensated. Wierd.
Post Reply