diff options
Diffstat (limited to 'ui/surface/d3d9_utils_win.cc')
-rw-r--r-- | ui/surface/d3d9_utils_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/surface/d3d9_utils_win.cc b/ui/surface/d3d9_utils_win.cc index a95ffb6..67df0fe 100644 --- a/ui/surface/d3d9_utils_win.cc +++ b/ui/surface/d3d9_utils_win.cc @@ -43,7 +43,7 @@ bool CreateDevice(const base::ScopedNativeLibrary& d3d_module, // Any old window will do to create the device. In practice the window to // present to is an argument to IDirect3DDevice9::Present. - HWND window = GetShellWindow(); + HWND window = GetDesktopWindow(); D3DPRESENT_PARAMETERS parameters = { 0 }; parameters.BackBufferWidth = 1; |