Commit 3c45bba1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Add traces to IWineD3DDeviceImpl_AcquireFocusWindow() /…

wined3d: Add traces to IWineD3DDeviceImpl_AcquireFocusWindow() / IWineD3DDeviceImpl_ReleaseFocusWindow().
parent ff9c2fcd
......@@ -1754,6 +1754,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_AcquireFocusWindow(IWineD3DDevice *ifac
{
IWineD3DDeviceImpl *device = (IWineD3DDeviceImpl *)iface;
TRACE("iface %p, window %p.\n", iface, window);
if (!wined3d_register_window(window, device))
{
ERR("Failed to register window %p.\n", window);
......@@ -1770,6 +1772,8 @@ static void WINAPI IWineD3DDeviceImpl_ReleaseFocusWindow(IWineD3DDevice *iface)
{
IWineD3DDeviceImpl *device = (IWineD3DDeviceImpl *)iface;
TRACE("iface %p.\n", iface);
if (device->focus_window) wined3d_unregister_window(device->focus_window);
device->focus_window = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment