Factorized Direct3DLockSurface/DirectXLock.
commit55014eb883c18c4f2e4c71f1755386161a2cbe34
authorLaurent Aimar <fenrir@videolan.org>
Mon, 19 Jul 2010 19:58:47 +0000 (19 21:58 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 19 Jul 2010 21:24:08 +0000 (19 23:24 +0200)
tree524887880689a4ca864fab448483832e0f31f2ce
parentd1520d927b2581cd44cb7f124bc6e7434542efaa
Factorized Direct3DLockSurface/DirectXLock.

There is a little difference in Direct3DLockSurface as it now also
sets the height field, but it should have no functionnal changes.
(cherry picked from commit a0530f4ab42c5e9dbd1b21e5a44c95d208254c55)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/msw/common.c
modules/video_output/msw/common.h
modules/video_output/msw/direct3d.c
modules/video_output/msw/directx.c