Page 1 of 1

IniEngine3D let's the computer go black for a fraction of a second

Posted: Mon Mar 25, 2024 6:26 pm
by jacdelad
Hi,
I recently started using the 3D engine on Windows. Now, some somputer turn the screen black for a second or less when starting the program. I moved the line with "InitEngine3D()" into the subroutine which which starts the 3D stuff, but it always occurs on startup (which is surely normal as I expect the program always initializes the 3D engine on startup). However, is there a way to prevent it? Is it a driver thing or maybe the screen settings (resolution, framerate...)?

Re: IniEngine3D let's the computer go black for a fraction of a second

Posted: Mon Mar 25, 2024 7:32 pm
by mk-soft
Could it be that you have an advanced graphics card? This can lead to hardware switching.
Or you are using different resolutions between Windows and Game Mode

Re: IniEngine3D let's the computer go black for a fraction of a second

Posted: Mon Mar 25, 2024 10:24 pm
by jacdelad
Hi mk-soft,
I'm not switching between graphic modes, just opening a simple window and using OpenWindowedScreen() on it.
Unfortunately I don't know much about said computer, as it's provided by my employer. But hardware switching could be a reason.
We don't need to waste too much time on thinking about that, I was just curious. Everything works with this computer too.