Shouldn't we use WINED3DCAPS2_DYNAMICTEXTURES rather than
D3DCAPS2_DYNAMICTEXTURES ?
Mirek Slugen
Kovács András napsal(a):
Hi,
Set D3DCAPS2_DYNAMICTEXTURES flag.
This makes Call of Duty 2 to run. Stefan told me, this function is supported,
but we don't advertise it currently.
------------------------------------------------------------------------
From e9398c4ee873ef8b8257fcb3db4945c858655732 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Andr=C3=A1s_Kov=C3=A1cs?= <[EMAIL PROTECTED]>
Date: Tue, 13 Mar 2007 03:07:30 +0100
Subject: [PATCH] Set D3DCAPS2_DYNAMICTEXTURES flag
---
dlls/wined3d/directx.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 209e745..c5898c6 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1879,7 +1879,8 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D
*iface, UINT Adapter,
*pCaps->Caps = 0;
*pCaps->Caps2 = WINED3DCAPS2_CANRENDERWINDOWED |
- WINED3DCAPS2_FULLSCREENGAMMA;
+ WINED3DCAPS2_FULLSCREENGAMMA |
+ D3DCAPS2_DYNAMICTEXTURES;
*pCaps->Caps3 = 0;
*pCaps->PresentationIntervals = WINED3DPRESENT_INTERVAL_IMMEDIATE;
------------------------------------------------------------------------