[PATCH] WineD3D: Enabling too many lights is silently ignored
Stefan Doesinger
stefan at codeweavers.com
Thu Nov 29 06:22:47 CST 2007
This patch adds tests for all d3d versions that show that Windows
pretends that enabling more lights than supported succeeds. D3D_OK is
returned, and the light is reported as enabled.
What is not tested in this patch is the rendering output of this
situation, thus the FIXME is still written.
---
dlls/d3d8/tests/device.c | 69 ++++++++++++++++++++++++++++++++++++++++
dlls/d3d9/tests/device.c | 63 ++++++++++++++++++++++++++++++++++++
dlls/ddraw/tests/d3d.c | 29 +++++++++++++++++
dlls/wined3d/device.c | 15 +++++++--
dlls/wined3d/wined3d_private.h | 1 +
5 files changed, 174 insertions(+), 3 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=3cc253c557fb68e620ee4f5130a781e56f17d6bc
More information about the wine-cvs
mailing list