-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2015-06-23 um 20:19 schrieb Aaryaman Vasishta:
As long as you're always passing coop_level = DDSCL_NORMAL I don't think there's a need for the parameter.
I wonder why the ddraw test is setting a clipper on the offscreen surface. It should not have an effect. Henri, do you remember why this is done?
Why aren't you using the existing ddraw1 interface variable?
I think here it would be interesting to confirm that the Z surface is the one created by create_device().
Ah, My bad. I must've missed the already existing variables, I probably wrote this in a hurry to get the tests working.
So use a global variable to store the z surface we created from create_device? That should work I guess.
Thanks! jam
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2015-06-24 um 00:19 schrieb Aaryaman Vasishta:
So use a global variable to store the z surface we created from create_device? That should work I guess.
Or pass a pointer to create_device that returns the Z surface, or call GetAttachedSurface after create_device but before CreateDeviceFromD3D.