Changeset 21731 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/volume.c
- Timestamp:
- Jul 21, 2009 9:16:52 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50306
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/volume.c
r19678 r21731 36 36 #define GLINFO_LOCATION This->resource.wineD3DDevice->adapter->gl_info 37 37 38 /* Context activation is done by the caller. */ 38 39 static void volume_bind_and_dirtify(IWineD3DVolume *iface) { 39 40 IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface; … … 206 207 TRACE("(%p) : copying into %p\n", This, pDesc); 207 208 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 216 218 return WINED3D_OK; 217 219 } … … 310 312 } 311 313 314 /* Context activation is done by the caller. */ 312 315 static HRESULT WINAPI IWineD3DVolumeImpl_LoadTexture(IWineD3DVolume *iface, int gl_level, BOOL srgb_mode) { 313 316 IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface;
Note:
See TracChangeset
for help on using the changeset viewer.