From a489aa488baa37664af49e0593e8500c89f3a49b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20D=C3=B6singer?= Date: Wed, 22 Aug 2007 10:46:38 +0200 Subject: [PATCH] wined3d: Accept rendering to sublevels with backbuffer orm. --- dlls/wined3d/surface.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index d85a9d70771..37144c67a46 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -2041,9 +2041,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LoadTexture(IWineD3DSurface *iface, BO d3dfmt_get_conv(This, TRUE /* We need color keying */, TRUE /* We will use textures */, &format, &internal, &type, &convert, &bpp, srgb_mode); if (This->Flags & SFLAG_INDRAWABLE) { - if (This->glDescription.level != 0) - FIXME("Surface in texture is only supported for level 0\n"); - else if (This->resource.format == WINED3DFMT_P8 || This->resource.format == WINED3DFMT_A8P8 || + if (This->resource.format == WINED3DFMT_P8 || This->resource.format == WINED3DFMT_A8P8 || This->resource.format == WINED3DFMT_DXT1 || This->resource.format == WINED3DFMT_DXT2 || This->resource.format == WINED3DFMT_DXT3 || This->resource.format == WINED3DFMT_DXT4 || This->resource.format == WINED3DFMT_DXT5) -- 2.11.4.GIT