Stefan Dösinger : wined3d: Accept rendering to sublevels with backbuffer orm.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Aug 30 06:20:27 CDT 2007
Module: wine
Branch: master
Commit: a489aa488baa37664af49e0593e8500c89f3a49b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a489aa488baa37664af49e0593e8500c89f3a49b
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Wed Aug 22 10:46:38 2007 +0200
wined3d: Accept rendering to sublevels with backbuffer orm.
---
dlls/wined3d/surface.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index d85a9d7..37144c6 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)
More information about the wine-cvs
mailing list