Module: wine Branch: master Commit: f3b39d908523ad3641de95e475402ae1436bb4ce URL: http://source.winehq.org/git/wine.git/?a=commit;h=f3b39d908523ad3641de95e475...
Author: Stefan Dösinger stefan@codeweavers.com Date: Mon Aug 3 15:37:02 2009 +0200
wined3d: Preload the correct texture location.
---
dlls/wined3d/surface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index b375df4..67a116b 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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);