From 05c141bc3ab264c8e1f4fba57c4a82fa93e91261 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Thu, 8 May 2014 16:39:25 +0200 Subject: 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 --- canvas/source/directx/dx_spritedevicehelper.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'canvas/source/directx/dx_spritedevicehelper.cxx') 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() -- cgit