Restored from previous forum. Originally posted by WolfgangS.
Hi !
I´m wondering why OpenScreen only have success, if i set SetRefreshRate() to 0 !
InitSprite()
SetRefreshRate(1)
If OpenScreen(640,480,32,"bla")=0
MessageRequester("","Screen",0):End:EndIf
Delay(1000)
CloseScreen()
Any help ?
MFG
:)WolfgangS
Poor Man SetRefreshRate() question
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tinman.
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)
Maybe the refresh rate you have set is not supported by the card but 0 tells the screen to open with a default or best choice refresh rate?Originally posted by WolfgangS
I´m wondering why OpenScreen only have success, if i set SetRefreshRate() to 0 !
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tranquil.
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
I think he means that he tries every value from 0 up to 150 and everytimes he gets 0 as a result of fail.Originally posted by fred
All from 0 to 150 is useless. Typical refresh rate are 60 (hz), 75, 85, 100.. Just look in the sreen window config in the moniteur panel, you should see the available refresh rates.
Fred - AlphaSND
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User