-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 2015-11-03 um 11:45 schrieb Riccardo Bortolato:
This will show different behavior on level 0 Y, Z and negative X cube map surfaces. (Positive X is the actual ddraw root surface). However, I vagely remember that native ddraw also misbehaved here, so the new behior is probably correct. I'll check with my SetColorKey tests and report back.
Cheers, Stefan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 2015-11-03 um 12:58 schrieb Stefan Dösinger:
The behavior of your new code is correct, it matches that of windows. You can set color keys (and presumably palettes, etc) on cube map faces that aren't the root surface and aren't sublevels.
Feel free to use the attached test. It needs to be ported to ddraw4.c and needs capability checks before creating a cube texture.
Cheers, Stefan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 2015-11-04 um 13:29 schrieb Stefan Dösinger:
Btw, I don't think we care about how two conflicting color keys etc on a cube texture behave in draws or blits. I guess that everything except positive X is ignored, or maybe used in blits only. Or it causes a bluescreen, that wouldn't be the first time...
Regarding ddraw4: current code isn't checking for mipmap sublevels, so the test doesn't apply there? I guess eventually it would be for a later patch.
Ciao, Riccardo
2015-11-04 13:29 GMT+01:00 Stefan Dösinger stefandoesinger@gmail.com:
On 4 November 2015 at 19:46, Riccardo Bortolato rikyz619@gmail.com wrote:
IIRC ddraw4 doesn't have cubemaps.