-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Am 2015-10-01 um 17:42 schrieb Henri Verbeet:
Not all d3d9 surfaces will necessarily have a corresponding d3d9 texture, and I'm not sure it's worth changing that. So in that regard this is fine. (But please fix the '*' placement.) Once you pass a wined3d_texture the container_parent parameter becomes redundant. Just to make sure I understand this right, especially in combination with https://www.winehq.org/pipermail/wine-devel/2015-September/109145.html : There may not always be a d3d9_texture for a d3d9_surface but there's always a wined3d_texture, which we store in the d3d9_surface instead of the d3d9_texture. If we need the d3d9_texture for some reason we get the parent. I.e. pretty much what Riccardo has done in this regard in this patch?
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWDVZVAAoJEN0/YqbEcdMwb9kP/0UWhBxLewV5IYEDnWaQQzL6 llgVwVmkCF+TzX2IH8mnJOt8hpTDMS/CCwALz16pcJu/g12RTvZSbKcMBPWNlGfx N8q6yVFjCt+lsIwZIG9ybPqKqvKST1lCfc55NgPkg0q3IiLZsHVlXKx1PxsCfg/h CY1yrjEvHHpQep/ToO21f/rYSk1/yOWjCZBvIh1ncZlziRk6PyNu3jsaVr24hcSl 54/5zwS3W6sqBSoBDQCkTFGi3X7UXE5LiOfrsjHmxGFZwLiJgVfLFxa+QeAdH94q D+QNtz7ZG6EPKUCzH95lT60tqD/571cL7H5QAdWWZCdgy+cKzV5Cr5z4YEgcfzeB i0iE5XrQ/MRe8uehe2HVQP7f7twQeobrPYCCpBHYeA1iadd0xqzw9xDyBaedQWVG JFy2ZlR/hFtdspj8KuGWMt3Jr7lyuPVyY4l4BqLJtrXCJISRMinNlxRH3vxwxUeJ 102XzmMsYPSQpXmAkpn+H/xSkDdhpzZ2yuUYLIIdUWMaBI7MfBXo40vy6t7yv1SU kbTTWhxf65KGyHm70KUTBy9UF065iyPgD1jgNcmsyz07SWVyjc5Nspc6o6s2GuKe g9l9x+1boQcB/oUANaF1pZ4NrzA3FcU9GhOQdm8hs9ipD4iE/c/CHWS7x2QxCokF ud4uZP5Kt3tCLJ9KvRMD =mV9p -----END PGP SIGNATURE-----