wined3d: Accept rendering to sublevels with backbuffer orm.
This commit is contained in:
parent
3b822b80fe
commit
a489aa488b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue