[3/4] WineD3D: Store the pixel format in the texture

Stefan Dösinger stefandoesinger at gmx.at
Wed Mar 21 14:33:11 CDT 2007


Am Mittwoch 21 März 2007 17:53 schrieb H. Verbeet:
> Shouldn't this be done for volume textures as well?
It is done, unless I missed something:

@@ -896,6 +898,7 @@ static HRESULT WINAPI 
IWineD3DDeviceImpl_CreateVolumeTexture(IWineD3DDevice *ifa
     object->width  = Width;
     object->height = Height;
     object->depth  = Depth;
+    object->baseTexture.format = Format;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070321/5b2716da/attachment.pgp


More information about the wine-devel mailing list