VirtualBox

Ignore:
Timestamp:
Jul 21, 2009 9:16:52 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: update to wine 1.1.26

File:
1 edited

Legend:

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

    r20612 r21731  
    4242    IWineD3DVolumeTextureImpl *This = (IWineD3DVolumeTextureImpl *)iface;
    4343    IWineD3DDeviceImpl *device = This->resource.wineD3DDevice;
    44     const WineD3D_GL_Info *gl_info = &device->adapter->gl_info;
     44    const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
    4545    BOOL srgb_mode = This->baseTexture.is_srgb;
    4646    BOOL srgb_was_toggled = FALSE;
     
    109109        IWineD3DDeviceImpl *device, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool, IUnknown *parent)
    110110{
    111     const WineD3D_GL_Info *gl_info = &device->adapter->gl_info;
     111    const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
    112112    const struct GlPixelFormatDesc *format_desc = getFormatDescEntry(format, gl_info);
    113113    UINT tmp_w, tmp_h, tmp_d;
     
    172172
    173173    /* Is NP2 support for volumes needed? */
    174     texture->baseTexture.pow2Matrix[0] = 1.0;
    175     texture->baseTexture.pow2Matrix[5] = 1.0;
    176     texture->baseTexture.pow2Matrix[10] = 1.0;
    177     texture->baseTexture.pow2Matrix[15] = 1.0;
     174    texture->baseTexture.pow2Matrix[0] = 1.0f;
     175    texture->baseTexture.pow2Matrix[5] = 1.0f;
     176    texture->baseTexture.pow2Matrix[10] = 1.0f;
     177    texture->baseTexture.pow2Matrix[15] = 1.0f;
    178178
    179179    /* Generate all the surfaces. */
     
    341341}
    342342
     343/* Context activation is done by the caller. */
    343344static HRESULT WINAPI IWineD3DVolumeTextureImpl_BindTexture(IWineD3DVolumeTexture *iface, BOOL srgb) {
    344345    IWineD3DVolumeTextureImpl *This = (IWineD3DVolumeTextureImpl *)iface;
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