Sweden-Number/dlls/ddraw/tests
Stefan Dösinger 3cc253c557 wined3d: Enabling too many lights is silently ignored.
I'm resending this patch because my reply to Henri's concern came too late. 
Henri noted that I am enabling lights that do not exist. Existing tests show 
that if no light is assigned to the index, LightEnable creates a light with a 
set of default parameters, so the tests should be fine.

From 9ee4c61805b50886f79e87d744b52f27b7b00b4e Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan@codeweavers.com>
Date: Thu, 29 Nov 2007 13:22:47 +0100
Subject: [PATCH] WineD3D: Enabling too many lights is silently ignored

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.
2007-12-03 13:44:07 +01:00
..
Makefile.in wined3d: Visual test framework. 2007-02-19 13:07:44 +01:00
d3d.c wined3d: Enabling too many lights is silently ignored. 2007-12-03 13:44:07 +01:00
ddrawmodes.c wined3d: When changing display modes clip cursor to the requested display size. 2006-12-15 13:44:36 +01:00
dsurface.c ddraw: Fix a test for Vista. 2007-11-07 12:08:07 +01:00
refcount.c ddraw/tests: Use skip instead of trace. 2007-07-06 18:15:32 +02:00
visual.c d3d: Add a simple offscreen rendering test. 2007-08-08 15:32:00 +02:00