VirtualBox

Ignore:
Timestamp:
Jul 21, 2009 9:16:52 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50306
Message:

crOpenGL: update to wine 1.1.26

File:
1 edited

Legend:

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

    r19678 r21731  
    3636#define GLINFO_LOCATION This->resource.wineD3DDevice->adapter->gl_info
    3737
     38/* Context activation is done by the caller. */
    3839static void volume_bind_and_dirtify(IWineD3DVolume *iface) {
    3940    IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface;
     
    206207    TRACE("(%p) : copying into %p\n", This, pDesc);
    207208
    208     *(pDesc->Format)  = This->resource.format_desc->format;
    209     *(pDesc->Type)    = This->resource.resourceType;
    210     *(pDesc->Usage)   = This->resource.usage;
    211     *(pDesc->Pool)    = This->resource.pool;
    212     *(pDesc->Size)    = This->resource.size; /* dx8 only */
    213     *(pDesc->Width)   = This->currentDesc.Width;
    214     *(pDesc->Height)  = This->currentDesc.Height;
    215     *(pDesc->Depth)   = This->currentDesc.Depth;
     209    pDesc->Format = This->resource.format_desc->format;
     210    pDesc->Type = This->resource.resourceType;
     211    pDesc->Usage = This->resource.usage;
     212    pDesc->Pool = This->resource.pool;
     213    pDesc->Size = This->resource.size; /* dx8 only */
     214    pDesc->Width = This->currentDesc.Width;
     215    pDesc->Height = This->currentDesc.Height;
     216    pDesc->Depth = This->currentDesc.Depth;
     217
    216218    return WINED3D_OK;
    217219}
     
    310312}
    311313
     314/* Context activation is done by the caller. */
    312315static HRESULT WINAPI IWineD3DVolumeImpl_LoadTexture(IWineD3DVolume *iface, int gl_level, BOOL srgb_mode) {
    313316    IWineD3DVolumeImpl *This     = (IWineD3DVolumeImpl *)iface;
Note: See TracChangeset for help on using the changeset viewer.

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