11-02-2022, 02:10 PM
(11-02-2022, 01:22 PM)mnrvovrfc Wrote: I got the same thing from that program, and from the "QBZERK". On Manjaro KDE.
In addition, it seems at first run of either program it seg-faults. This is only for information, because any program created by QB64PE could seg-fault at random times while it tries to clean up.
EDIT: Decided to hard-code a few things in @Dav 's program (lines 48 and 50):
Code: (Select All)SCREEN _NEWIMAGE(640, 480, 32)
tilesize = FIX(480 / grid)
which makes it work successfully. The problem seems to be with "_DESKTOPWIDTH" and/or "_DESKTOPHEIGHT". Maybe also "_NEWIMAGE()" mapping into OpenGL doesn't like floating-point numbers...
EDIT: Managed to fix the "QBZERK" as well, "_SCREENIMAGE" seems to be included in the bad gang:
https://staging.qb64phoenix.com/showthre...92#pid8992
it seems that this is it!
Print _DesktopHeight
works with qb64pe 0.50 but not with version 3.40
this is not a freeglut bug since it works with version 0.50 of qb64pe