• Stefan Dösinger's avatar
    wined3d: Enabling too many lights is silently ignored. · 3cc253c5
    Stefan Dösinger authored
    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.
    3cc253c5
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
clipper.c Loading commit data...
ddcomimpl.h Loading commit data...
ddraw.c Loading commit data...
ddraw.spec Loading commit data...
ddraw_private.h Loading commit data...
ddraw_thunks.c Loading commit data...
device.c Loading commit data...
direct3d.c Loading commit data...
executebuffer.c Loading commit data...
gamma.c Loading commit data...
light.c Loading commit data...
main.c Loading commit data...
material.c Loading commit data...
palette.c Loading commit data...
parent.c Loading commit data...
regsvr.c Loading commit data...
surface.c Loading commit data...
surface_thunks.c Loading commit data...
texture.c Loading commit data...
utils.c Loading commit data...
version.rc Loading commit data...
vertexbuffer.c Loading commit data...
viewport.c Loading commit data...