ddraw: Palette refcounting fix.
commit915174d8d9b1b067d87d96b96e7fed6c8d1a1704
authorStefan Dösinger <stefandoesinger@gmx.at>
Mon, 10 Jul 2006 08:53:11 +0000 (10 10:53 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 11 Jul 2006 15:10:53 +0000 (11 17:10 +0200)
treeefa461b9d9e2c60cdb575e9640be9fabddeb42d0
parent0a81295782bc6e48bfccb2b8ae23ae66982d87f0
ddraw: Palette refcounting fix.

Do not AddRef the DirectDraw interfaces in CreatePalette of older
interface version, and add a test for that.
dlls/ddraw/ddraw.c
dlls/ddraw/ddraw_private.h
dlls/ddraw/ddraw_thunks.c
dlls/ddraw/palette.c
dlls/ddraw/tests/refcount.c