VirtualBox

Changeset 34290 in vbox for trunk


Ignore:
Timestamp:
Nov 23, 2010 4:03:01 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: aero multimon fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/context.c

    r33750 r34290  
    766766    if (context->valid)
    767767    {
     768#ifndef VBOX_WITH_WDDM
    768769        if (!ReleaseDC(context->win_handle, context->hdc))
    769770        {
     
    771772                    context->hdc, GetLastError());
    772773        }
     774#endif
    773775    }
    774776    else context->valid = 1;
     
    777779    context->win_handle = swapchain->win_handle;
    778780    context->currentSwapchain = swapchain;
     781    context->hdc = swapchain->hDC;
    779782#else
    780783    context->win_handle = context->swapchain->win_handle;
    781 #endif
    782784    if (!(context->hdc = GetDC(context->win_handle)))
    783785    {
     
    785787        goto err;
    786788    }
     789#endif
    787790
    788791    if (!context_set_pixel_format(context->gl_info, context->hdc, context->pixel_format))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette