wine/dlls/d3d8
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 d3d8: Win64 printf format warning fixes. 2006-10-10 19:58:56 +02:00
cubetexture.c d3d8: Hold the lock in cubetexture methods. 2007-06-12 11:13:49 +02:00
d3d8_main.c d3d8: Better match the PSDK types and fix the winapi_check warnings. 2007-08-03 12:44:22 +02:00
d3d8_private.h d3d8: Convert fvfs to vertex declarations. 2007-06-21 13:08:57 +02:00
d3d8.spec d3d8: Better stub for ValidateVertexShader + tests. 2006-09-11 11:29:56 +02:00
device.c d3d8: Release the vertex declarations array when destroying the device. 2007-11-20 12:53:00 +01:00
directx.c d3d8: Convert fvfs to vertex declarations. 2007-06-21 13:08:57 +02:00
indexbuffer.c d3d8: Hold the lock in IDirect3DIndexBuffer8 methods. 2007-06-12 11:14:01 +02:00
Makefile.in d3d8: Add an IDirect3DVertexDeclaration8 class to hold the wined3d vertex declaration. 2007-02-14 13:50:57 +01:00
pixelshader.c Assorted spelling fixes. 2006-10-13 11:55:04 +02:00
resource.c d3d8: Win64 printf format warning fixes. 2006-10-10 19:58:56 +02:00
stateblock.c d3d8: Win64 printf format warning fixes. 2006-10-10 19:58:56 +02:00
surface.c d3d8: Hold the lock in IDirect3DSurface8 methods. 2007-06-12 11:14:16 +02:00
swapchain.c d3d8: Hold the lock in swapchain methods. 2007-06-13 11:07:52 +02:00
texture.c d3d8: Hold the lock in IDirect3Dtexture8 methods. 2007-06-13 11:08:20 +02:00
version.rc Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
vertexbuffer.c d3d8: Hold the lock in IDirect3DVertexBuffer methods. 2007-06-13 11:07:59 +02:00
vertexdeclaration.c d3d8: Initialize the vertex decl when allocating it. 2007-11-05 13:24:36 +01:00
vertexshader.c d3d8: Store the d3d8 vertex declaration in the d3d8 vertex shader. 2007-02-14 13:54:17 +01:00
volume.c d3d8: Hold the lock in volume methods. 2007-06-13 11:08:06 +02:00
volumetexture.c d3d8: Hold the lock in IDirect3DVolumeTexture8 methods. 2007-06-13 11:08:14 +02:00