wined3d: Fix subtraction of resource size from used adapter memory.
commitbd460bca1ccade89400515fa004c5e3204e55d11
authorKen Thomases <ken@codeweavers.com>
Fri, 17 Oct 2014 03:03:22 +0000 (16 22:03 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 17 Oct 2014 06:48:42 +0000 (17 15:48 +0900)
treeec1364edf839cd3134943f5ae6a9b16daafc9a7d
parentbb23664ee98fd99b5e5c99fae973fcdbea9397de
wined3d: Fix subtraction of resource size from used adapter memory.

Properly negate an unsigned value while promoting it from 32- to 64-bit.
dlls/wined3d/resource.c