11-04-2022, 02:21 AM
(This post was last modified: 11-04-2022, 02:34 AM by mnrvovrfc.
Edit Reason: Didn't look over things carefully earlier
)
(11-04-2022, 02:07 AM)johnno56 Wrote: For some reason, my machine does not seem to handle '_DesktopWidth' and/or _DesktopHeight' very well. As to why? I will leave 'that' one for those who are more clever that I. Thank you all for your suggestions and effort. Much appreciated.Very glad you have resolved it yourself. We others using Linux were having a similar issue; the "freeglut" doesn't seem to like "automatic" settings forcing width and height of screen to be hard-coded and, otherwise, it needs more time to draw a graphics window. "freeglut" or the threading code related to it might need an update for the large screens that are becoming more common in recent times.
@bplus since this is your forum... but I caught you using the "official" QB64 with Wine, ha ha ha.
I just noticed the program I looked at had a different look by a different author, that's why at first I proposed for "_DELAY 1" to be put just before "SCREEN _NEWIMAGE()", and never noticed the "_DESKTOPWIDTH" and "_DESKTOPHEIGHT" being used earlier.