summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_spritedevicehelper.cxx
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-05-08 16:39:25 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-05-08 18:34:32 +0200
commit05c141bc3ab264c8e1f4fba57c4a82fa93e91261 (patch)
tree0e5dee5d9f261b675b79aa34e32ad32b20fbd61b /canvas/source/directx/dx_spritedevicehelper.cxx
parent3a61db17545e0cee9eccaf02a3372068bb0768d4 (diff)
DX canvas: provide a OutputDevice pointer as a device handler instead of HDC
With it all canvas can be handled on the same way. avmedia/source/win/window.cxx: always comes a HWND Change-Id: Id6b8e6d52b8a136143f724daf8feff5c85cf5804
Diffstat (limited to 'canvas/source/directx/dx_spritedevicehelper.cxx')
-rw-r--r--canvas/source/directx/dx_spritedevicehelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/canvas/source/directx/dx_spritedevicehelper.cxx b/canvas/source/directx/dx_spritedevicehelper.cxx
index a8f1db36671a..a101cf796cb8 100644
--- a/canvas/source/directx/dx_spritedevicehelper.cxx
+++ b/canvas/source/directx/dx_spritedevicehelper.cxx
@@ -99,8 +99,7 @@ namespace dxcanvas
false));
// Assumes: SystemChildWindow() has CS_OWNDC
- DeviceHelper::init(GetDC(mpRenderModule->getHWND()),
- rSpriteCanvas);
+ DeviceHelper::init(GetDC(mpRenderModule->getHWND()),rWindow.GetOutDev(), rSpriteCanvas);
}
void SpriteDeviceHelper::disposing()