wined3d: Preload the correct texture location.
This commit is contained in:
parent
f53451ddac
commit
f3b39d9085
|
@ -749,7 +749,7 @@ void surface_internal_preload(IWineD3DSurface *iface, enum WINED3DSRGB srgb)
|
|||
if (IWineD3DSurface_GetContainer(iface, &IID_IWineD3DBaseTexture, (void **)&baseTexture) == WINED3D_OK) {
|
||||
IWineD3DBaseTextureImpl *tex_impl = (IWineD3DBaseTextureImpl *) baseTexture;
|
||||
TRACE("Passing to container\n");
|
||||
tex_impl->baseTexture.internal_preload(baseTexture, SRGB_RGB);
|
||||
tex_impl->baseTexture.internal_preload(baseTexture, srgb);
|
||||
IWineD3DBaseTexture_Release(baseTexture);
|
||||
} else {
|
||||
TRACE("(%p) : About to load surface\n", This);
|
||||
|
|
Loading…
Reference in New Issue