[wined3d] rendertargets

Oliver Stieber oliver_stieber at yahoo.co.uk
Fri Jul 1 10:11:05 CDT 2005


This patch implements rendertargets using either
textures, swapchains or standalone surfaces.

This patch is only dependand on winecvs but.....

When applying this patch along with the stateblock
patch the following lines in wined3d/stateblock.c :


102:    /* Render states: */
103:    if (ThisDevice->depthStencilBuffer != NULL) {
104:      
IWineD3DDevice_SetRenderState((IWineD3DDevice
*)ThisDevice, WINED3DRS_ZENABLE, 105:     
D3DZB_TRUE);
106:    } else {
107:      
IWineD3DDevice_SetRenderState((IWineD3DDevice
*)ThisDevice, WINED3DRS_ZENABLE, 108:     
D3DZB_FALSE);
109:    }


need to be modified to:

102:    /* Render states: */
103:    if (ThisDevice->depthStencilBuffer != NULL) {
104:       IWineD3DDevice_SetRenderState(device,
WINED3DRS_ZENABLE, D3DZB_TRUE);
106:    } else {
107:       IWineD3DDevice_SetRenderState(device,
WINED3DRS_ZENABLE, D3DZB_FALSE);
109:    }


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d-render-targets-os-1.patch
Type: text/x-diff
Size: 52505 bytes
Desc: 332397958-wined3d-render-targets-os-1.patch
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050701/7845fcd5/wined3d-render-targets-os-1.bin


More information about the wine-patches mailing list