- Timestamp:
- Nov 23, 2010 4:03:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/context.c
r33750 r34290 766 766 if (context->valid) 767 767 { 768 #ifndef VBOX_WITH_WDDM 768 769 if (!ReleaseDC(context->win_handle, context->hdc)) 769 770 { … … 771 772 context->hdc, GetLastError()); 772 773 } 774 #endif 773 775 } 774 776 else context->valid = 1; … … 777 779 context->win_handle = swapchain->win_handle; 778 780 context->currentSwapchain = swapchain; 781 context->hdc = swapchain->hDC; 779 782 #else 780 783 context->win_handle = context->swapchain->win_handle; 781 #endif782 784 if (!(context->hdc = GetDC(context->win_handle))) 783 785 { … … 785 787 goto err; 786 788 } 789 #endif 787 790 788 791 if (!context_set_pixel_format(context->gl_info, context->hdc, context->pixel_format))
Note:
See TracChangeset
for help on using the changeset viewer.