VirtualBox

Ignore:
Timestamp:
Sep 13, 2010 5:59:01 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: wine multi-swapchain fixes

File:
1 edited

Legend:

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

    r30885 r32461  
    773773{
    774774    const struct wined3d_gl_info *gl_info = context->gl_info;
     775#ifdef VBOXWDDM
     776    IWineD3DDeviceImpl *device = context->device;
     777#else
    775778    IWineD3DDeviceImpl *device = context->swapchain->device;
     779#endif
    776780    IWineD3DStateBlockImpl* stateBlock = device->stateBlock;
    777781    struct shader_glsl_priv *priv = device->shader_priv;
     
    46164620{
    46174621    const struct wined3d_gl_info *gl_info = context->gl_info;
     4622#ifdef VBOXWDDM
     4623    IWineD3DDeviceImpl *device = context->device;
     4624#else
    46184625    IWineD3DDeviceImpl *device = context->swapchain->device;
     4626#endif
    46194627    struct shader_glsl_priv *priv = device->shader_priv;
    46204628    GLhandleARB program_id = 0;
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