[Resolved] PB 6.00 B8 OpenWindowedScreen() blank my screen 4 seconds before start

Just starting out? Need help? Post your questions and find answers here.
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

[Resolved] PB 6.00 B8 OpenWindowedScreen() blank my screen 4 seconds before start

Post by Marc56us »

Hi PB friends,

With PB 6, OpenWindowedScreen() turns off my screen for 4 seconds before launching the program (it's a bit annoying) whereas this does not happen with 5.71 or 5.46.
The 3 versions are on the same PC, so they use the same video and Directx driver
For PB 6, same thing in ASM or C compiler
The compiler options are identical.

Sample used from doc
https://www.purebasic.com/documentation ... creen.html

Where to look?
:?: :wink:

Edit: If I put DirectX9 in compiler option, I don't have blanck screen, so I think without any option, PB try to dectect DirexctX version ? (If I put DirectX11, this not work. Il I put OpenGL, error message "The following subsystem cannot be found: OpenGL").
PS. In all cases, middle button is detected à right button.