I've just noticed these are not rotated 180º, but vertically inverted:
This is only happening in Linux, I've tried it in Windows and Mac and it works okay.
Inverted block lists and highlights [FIXED]
Moderator: MSandro
Re: Inverted block lists and highlights
Wow, that's quite an interesting bug! Different systems have different conventions for the Y origin and direction in bitmaps. We already have low-level code for both versions. It appears that some versions of Linux are flipped and others are not. I've been testing on Ubuntu, and my block highlights are not flipped -- which version are you using? What is your hardware? I'll try to figure out how to detect the actual Y direction.
Re: Inverted block lists and highlights
I'm using a 64b Debian machine, but it also happens in the 32b Xubuntu machines we use at the clubs.
Is there anything I can do to help?
Is there anything I can do to help?
Re: Inverted block lists and highlights
What's your physical hardware (e.g. ThinkPad, Dell, etc.)? This may be related to the graphics hardware since it is reading the bitmap for the block stack out of a texture. I'm testing with Ubuntu 14.4 in a VMWare virtual machine running on Macbook Pro.
Thanks for the offer to help. I'll definitely want your help in testing once I have a fix.
I've thought of a way to detect whether the bitmap does or does not need to be flipped: GP can run an experiment on a tiny bitmap at startup and remember that result. That approach will be more reliable than trying to guess from the OS.
Thanks for the offer to help. I'll definitely want your help in testing once I have a fix.
I've thought of a way to detect whether the bitmap does or does not need to be flipped: GP can run an experiment on a tiny bitmap at startup and remember that result. That approach will be more reliable than trying to guess from the OS.
Re: Inverted block lists and highlights
That's really smart! How would that work? You use a 4 pixel bitmap and compare that one to a procedurally generated one?
I'm using a Lenovo PC, and my graphics chipset is "Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)".
I'm using a Lenovo PC, and my graphics chipset is "Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)".
Re: Inverted block lists and highlights
Yep, exactly! Thanks for the hardware info.