Commit 65109002 authored by Ivan Gyurdiev's avatar Ivan Gyurdiev Committed by Alexandre Julliard

wined3d: Do not return WINED3DERR_INVALIDCALL for Phong shading.

parent 0c6c9f04
......@@ -3491,10 +3491,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment