ddraw: Fix reported caps on compressed surfaces.
authorStefan Dösinger <stefan@codeweavers.com>
Sun, 6 May 2007 21:40:19 +0000 (23:40 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 May 2007 19:42:33 +0000 (21:42 +0200)
commit2ecacc619f1ea4931c3c654d80ba1aead4527ef6
treed49d0bd0d0f75b9a28c87cc74b97e494f424487d
parentb76a77b3bf237076d52fef4ff87d842575a16c51
ddraw: Fix reported caps on compressed surfaces.

Compressed surfaces in ddraw do not have a pitch, instead the full
surface size is reported. Also adds tests for the extact behavior and
surface flags set.
dlls/ddraw/ddraw.c
dlls/ddraw/surface.c
dlls/ddraw/tests/dsurface.c