11-02-2022, 01:22 PM
(This post was last modified: 11-02-2022, 01:49 PM by mnrvovrfc.
Edit Reason: Help find a solution
)
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):
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://qb64phoenix.com/forum/showthread...92#pid8992
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://qb64phoenix.com/forum/showthread...92#pid8992