wine/dlls/d3d9
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
..
tests wined3d: Enabling too many lights is silently ignored. 2007-12-03 13:44:07 +01:00
basetexture.c d3d9: Void functions should not return a value. 2007-04-09 12:15:42 +02:00
cubetexture.c d3d9: Hold the lock in cubetexture methods. 2007-06-18 12:33:55 +02:00
d3d9_main.c d3d9: Add a dll global critical section. 2007-06-14 13:23:04 +02:00
d3d9_private.h d3d9: Some caps fixes. 2007-08-21 13:35:35 +02:00
d3d9.spec d3d9: Stub D3DPERF_ functions. 2006-08-07 19:59:53 +02:00
device.c d3d9: Free the converted declaration data after creating the declaration. 2007-11-20 13:10:55 +01:00
directx.c d3d9: Some caps fixes. 2007-08-21 13:35:35 +02:00
indexbuffer.c d3d9: Hold the lock in indexbuffer methods. 2007-06-18 12:33:55 +02:00
Makefile.in d3d9: Win64 printf format warning fixes. 2006-10-10 19:59:09 +02:00
pixelshader.c d3d9: Hold the lock in Pixelshader functions. 2007-06-18 12:33:55 +02:00
query.c d3d9: Release the wined3d query when the d3d9 query is destroyed. 2007-06-19 12:34:03 +02:00
resource.c d3d9: Win64 printf format warning fixes. 2006-10-10 19:59:09 +02:00
stateblock.c wined3d: Add a wined3d private WINED3DSBT_RECORDED. 2007-08-15 09:36:20 +02:00
surface.c d3d9: Hold the lock in suface methods. 2007-06-22 13:43:05 +02:00
swapchain.c d3d9: Hold the lock in swapchain methods. 2007-06-22 13:43:11 +02:00
texture.c d3d9: Trace the Format parameter to IDirect3DDevice9Impl_CreateTexture as hexadecimal. 2007-07-26 11:51:26 +02:00
version.rc Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
vertexbuffer.c d3d9: Silence a FIXME. 2007-11-01 12:39:32 +01:00
vertexdeclaration.c d3d9: Hold the lock in VertexDeclaration methods. 2007-06-25 11:35:24 +02:00
vertexshader.c d3d9: Hold the lock in VertexShader methods. 2007-06-25 11:35:40 +02:00
volume.c d3d9: Handle volume container in d3d9. 2006-12-18 12:08:08 +01:00
volumetexture.c d3d9: Void functions should not return a value. 2007-04-09 12:15:42 +02:00