[v9 06/11] wined3d: Call wined3d_texture_incref() instead of wined3d_surface_incref() from surface_resource_incref().

Riccardo Bortolato rikyz619 at gmail.com
Sun Nov 22 03:41:15 CST 2015


2015-11-22 1:57 GMT+01:00 Stefan Dösinger <stefandoesinger at gmail.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Am 2015-11-19 um 20:34 schrieb Riccardo Bortolato:
>> -ULONG __cdecl wined3d_surface_incref(struct wined3d_surface *surface);
> This causes a compile error in d3d9:
>

Hi Stefan,

Right, sorry, this depends on:

d3d9: Replace surface refcounting with parent texture refcounting.

which depends on the d3d11 CopySubresourceRegion stuff I sent in the
previous iteration (wine-patches says superseded, but in reality
they're not).

Unfortunately I didn't think of it since I have all the patches piled
up in a branch.

Ciao,
Riccardo



> ../../../../src/wine/dlls/d3d9/surface.c:74:9: warning: implicit declaration of function ‘wined3d_surface_incref’ [-Wimplicit-function-declaration]
>          wined3d_surface_incref(surface->wined3d_surface);
>          ^
> surface.o: In function `d3d9_surface_AddRef':
> /home/stefan/build/wine/dlls/d3d9/../../../../src/wine/dlls/d3d9/surface.c:74: undefined reference to `wined3d_surface_incref'
> collect2: error: ld returned 1 exit status
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJWURLoAAoJEN0/YqbEcdMwnRsP/2O2sa8HlCSuwqIMM/T6j5u4
> MsGvxJ8cWu2PNs6VyM7Zc2DlaU7JxR0RveJnketp6GA0Rln7afVIQztuW64SVADg
> Rv7kmTuteHqPQZYFr/9SHZgs1o/Dj+uSmo0gOFM62qWzwb3+vT+F+xK+745lOu9s
> /bAI8djIttNbwArkbDPhkYScLNOyk1jhZYPo0bs0t1T4fWzM+SIMsqPaTVhNlJNc
> f0lHQYMSqClNsvUbKksV6UTzoViLNPUM4UvrXy2cbgVQxeyG32yUIqWHnIeMJCBO
> U7NNwjxNV3/eM0f8F7R8lfHbMoq0l3fErV6jJXp04sVYRioqlRiB6qUx7sY+MDWg
> zwBuzIuZuQTaQjXYhiwz4TTO/UY2hCASeCQoDoUWHuDA6WJLZYYHOfLnVa1acBuu
> lPlZriSNu6i4ovO7DrMuhplFI4a1DGVFK2BDGxo2YsE71U95U4kj6XZVxr8Bvct7
> YvB3rl/h+DvfwIHJspwMYC99eF/JS3ANB2bCUGlJEuHDN5ni4IYc7UioMax/IcV+
> LqDp+C0vvIo8XzXHlFXkG5Razkq0v2KiJZjJKIwLYLNXFQ1QwKtS7ekbiwVVR3HU
> UeLTZjrPOO1996iB9mVMRh8b26N4wwns/ZWEj2zMTXY+3KRmhy6qQcq4ob6g+7jK
> Ud8ySMIm/lwN7Bv7rbIc
> =7k15
> -----END PGP SIGNATURE-----



More information about the wine-devel mailing list