Ivan Gyurdiev : wined3d:
Do not return WINED3DERR_INVALIDCALL for Phong shading.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jul 21 04:14:34 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 65109002aec324bb21a3c3ca9e975afba6710bfd
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=65109002aec324bb21a3c3ca9e975afba6710bfd
Author: Ivan Gyurdiev <ivg231 at gmail.com>
Date: Thu Jul 20 23:04:18 2006 -0400
wined3d: Do not return WINED3DERR_INVALIDCALL for Phong shading.
---
dlls/wined3d/device.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index fb7e084..babbb9b 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3491,10 +3491,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl
checkGLcall("glShadeModel");
break;
case D3DSHADE_PHONG:
- FIXME("D3DSHADE_PHONG isn't supported?\n");
-
- LEAVE_GL();
- return WINED3DERR_INVALIDCALL;
+ FIXME("D3DSHADE_PHONG isn't supported\n");
+ break;
default:
FIXME("Unrecognized/Unhandled D3DSHADEMODE value %ld\n", Value);
}
More information about the wine-cvs
mailing list