wine/dlls
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
..
acledit acledit: Add wfext.h. 2007-11-13 13:36:51 +01:00
activeds activeds: Exclude unused headers. 2007-04-23 19:59:29 +02:00
advapi32 advapi32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
advpack advpack: Skip some tests if not in interactive mode because they pop up dialogs. 2007-11-13 23:28:06 +01:00
amstream amstream: Remove 'recursive registry key delete' function. 2007-09-27 11:58:38 +02:00
atl dlls: Remove duplicate includes. 2007-11-19 13:54:46 +01:00
avicap32 avicap32: Exclude unused header. 2007-04-23 19:59:42 +02:00
avifil32 avifil32: Updated French translation. 2007-11-13 21:47:37 +01:00
browseui browseui: Print 64bit integers with wine_dbgstr_longlong. 2007-11-09 12:40:06 +01:00
cabinet cabinet: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
capi2032 configure: Merge the libcapi20 existence check with the soname check. 2007-07-02 17:29:17 +02:00
cards cards: We can now store binary files in the repository. 2007-09-17 16:07:27 +02:00
cfgmgr32 cfgmgr32: Forward cfgmgr32 functions to setupapi. 2007-11-08 11:52:18 +01:00
clusapi clusapi: Corrected value in GetNodeClusterState. 2007-11-12 13:00:25 +01:00
comcat comcat: Remove 'recursive registry key delete' function. 2007-09-26 11:32:31 +02:00
comctl32 comctl32: Remove extraneous check (unsigned < 0). 2007-12-03 13:17:42 +01:00
comdlg32 comdlg32: Use logical OR not bitwise OR. 2007-11-26 12:27:29 +01:00
compstui compstui: Exclude unused headers. 2007-04-30 12:32:42 +02:00
credui credui: Fix a test failure on Windows XP. 2007-11-27 16:42:13 +01:00
crtdll
crypt32 crypt32: Add CERT_STORE_ADD_NEWER support to CertAddCertificateContextToStore. 2007-11-28 11:20:11 +01:00
cryptdll
cryptnet Include objbase.h where need to get the DllRegisterServer prototype. 2007-11-06 14:39:16 +01:00
ctapi32 ctapi32: Added null terminator to library name. 2007-11-30 12:43:37 +01:00
ctl3d32
d3d8 wined3d: Enabling too many lights is silently ignored. 2007-12-03 13:44:07 +01:00
d3d9 wined3d: Enabling too many lights is silently ignored. 2007-12-03 13:44:07 +01:00
d3d10 d3d10: Add stub for d3d10.dll. 2007-07-11 14:22:20 +02:00
d3dim
d3drm d3drm/tests: Fix the Visual C++ double to float conversion warnings. 2007-05-31 14:18:39 +02:00
d3dx8 d3dx8: Initialise temp in D3DXQuaternionInverse to avoid a uninitialised variable warning with some versions of gcc. 2007-12-03 13:10:21 +01:00
d3dxof d3dxof: Fix some return values. 2007-11-08 13:56:37 +01:00
dbghelp dbghelp: Fix detection of ELF libs by their name. 2007-10-29 13:58:35 +01:00
dciman32
ddraw wined3d: Enabling too many lights is silently ignored. 2007-12-03 13:44:07 +01:00
ddrawex ddrawex: Remove 'recursive registry key delete' function. 2007-09-25 11:18:59 +02:00
devenum devenum: Exclude unused header. 2007-05-02 14:58:20 +02:00
dinput dinput: Use bitwise NOT not logical NOT. 2007-11-27 12:29:52 +01:00
dinput8 dinput8: Remove 'recursive registry key delete' function. 2007-09-24 13:44:49 +02:00
dmband dmband: Fix a memory leak. 2007-09-19 14:58:38 +02:00
dmcompos dmcompos: Indirection level fix. 2007-09-20 11:36:39 +02:00
dmime dmime: Remove 'recursive registry key delete' function. 2007-09-11 11:50:07 +02:00
dmloader dmloader: Remove 'recursive registry key delete' function. 2007-09-11 11:49:52 +02:00
dmscript dmscript: Indirection level fix. 2007-09-21 11:52:30 +02:00
dmstyle dmstyle: Remove 'recursive registry key delete' function. 2007-08-31 12:08:58 +02:00
dmsynth dmsynth: Indirection level fix. 2007-09-21 11:52:33 +02:00
dmusic dmusic: Indirection level fix. 2007-09-21 11:52:36 +02:00
dmusic32 dmusic: Fix license headers that mistakenly use GPL instead of LGPL. 2007-05-30 12:54:07 +02:00
dnsapi dnsapi: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-28 11:19:58 +01:00
dplay Get rid of some empty source files, our makefiles no longer require them. 2007-05-04 12:27:34 +02:00
dplayx Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
dpnaddr dpnaddr: Added dll that just forwards to dpnet. 2007-03-07 13:45:11 +01:00
dpnet dpnet: Indirection level fix. 2007-09-21 11:52:39 +02:00
dpnhpast Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
dpnlobby dpnlobby: Add dpnlobby that forwards to dpnet.dll. 2007-08-08 15:32:04 +02:00
dsound dsound/tests: Better check to see if class is not available. 2007-11-13 13:29:17 +01:00
dswave dswave: Indirection level fix. 2007-09-21 11:52:27 +02:00
dwmapi dwmapi: Add DwmEnableComposition stub. 2007-11-06 13:02:49 +01:00
dxdiagn dxdiagn: Remove 'recursive registry key delete' function. 2007-08-28 11:56:22 +02:00
dxerr8 dxerr8: Exclude unused header. 2007-05-03 14:23:40 +02:00
dxerr9 dxerr9: Exclude unused header. 2007-05-03 14:23:24 +02:00
dxguid dxguid: Remove dsdriver.h from imports. 2007-08-17 12:01:37 +02:00
faultrep faultrep: Add stub for ReportFault. 2007-10-02 12:28:15 +02:00
gdi32 gdi32: Fix the type of two loop variables. 2007-11-29 15:36:49 +01:00
gdiplus gdiplus: Fix some memory leaks. 2007-09-27 19:25:00 +02:00
glu32
gphoto2.ds gphoto2.ds: Add Swedish translation. 2007-10-16 12:37:35 +02:00
hal hal: Added stubs for KfAquireSpinLock, KfReleaseSpinLock, KfLowerIrql, KfRaiseIrql. 2007-10-31 12:39:55 +01:00
hhctrl.ocx hhctrl.ocx: Update version info. 2007-10-22 14:54:39 +02:00
hid
hlink hlink: Added HlinkCreateExtensionServices tests. 2007-11-21 12:39:01 +01:00
hnetcfg Include objbase.h where need to get the DllRegisterServer prototype. 2007-11-06 14:39:16 +01:00
iccvid iccvid: Add Swedish translation. 2007-10-16 12:37:43 +02:00
icmp
ifsmgr.vxd ifsmgr.vxd: Constify some variables. 2007-05-03 14:23:58 +02:00
imaadp32.acm imaadp32.acm: Constify some variables. 2007-05-03 14:23:36 +02:00
imagehlp imagehlp: Fixed UpdateDebugInfoFile definition. 2007-10-02 14:58:10 +02:00
imm32 imm32: ImmDisableIme is an alias to ImmDisableIME. 2007-10-17 13:40:47 +02:00
inetcomm inetcomm: Implement IMimeBody:SetData. 2007-11-27 11:37:16 +01:00
infosoft infosoft: Exclude unused header. 2007-05-07 20:34:17 +02:00
inkobj inkobj: Stub implementation of IInkCollector. 2007-10-12 11:29:25 +02:00
inseng inseng: Remove 'recursive registry key delete' function. 2007-08-27 19:28:15 +02:00
iphlpapi iphlpapi: Correct confusing indentation in GetTcpTable. 2007-11-19 12:51:45 +01:00
itss itss: Avoid checking an unsigned value for < 0. 2007-11-26 13:57:40 +01:00
kernel32 kernel32: Add some simple tests for GetVersionExA. 2007-12-03 11:52:01 +01:00
localspl localspl/tests: Use ANSI function declarations. 2007-11-19 13:53:30 +01:00
localui localui: Updated French translation. 2007-11-13 21:47:06 +01:00
lz32 Get rid of some empty source files, our makefiles no longer require them. 2007-05-04 12:27:34 +02:00
mapi32 mapi32: Add a stub for DllGetClassObject. 2007-11-16 12:44:10 +01:00
mciavi32 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
mcicda mcicda: Fix compilation warnings in 64-bit mode. 2007-06-01 12:39:45 +02:00
mciseq mciseq: Fix compilation warnings in 64-bit mode. 2007-06-01 12:39:52 +02:00
mciwave mciwave: Prevent division by zero when processing non-PCM codec. 2007-06-26 11:53:05 +02:00
midimap midimap: Fix compilation warnings in 64-bit mode. 2007-06-01 12:40:04 +02:00
mlang mlang: Fix buffer size calculation. 2007-11-08 13:13:34 +01:00
mmdevldr.vxd
monodebg.vxd
mpr mpr: Updated Korean resource. 2007-10-25 13:57:47 +02:00
mprapi
msacm32 msacm32: Updated Korean resource. 2007-10-25 13:58:07 +02:00
msacm32.drv msacm32.drv: Constify some variables. 2007-05-30 15:55:31 +02:00
msadp32.acm msadp32.acm: Constify some variables. 2007-05-30 15:55:35 +02:00
mscat32 mscat32: Forward calls to wintrust where possible. 2007-10-29 13:58:23 +01:00
mscms mscms/tests: Allocate the profile buffer dynamically to make sure it's large enough. 2007-08-17 12:01:37 +02:00
mscoree mscoree: Return S_OK if mono runtime is found. 2007-08-24 10:57:16 +02:00
msdmo msdmo: Fix to DMOEnum to properly enumerate the keys and properly respect the flag. 2007-10-29 12:02:33 +01:00
msftedit
msg711.acm msg711.acm: Constify some variables. 2007-05-29 12:04:39 +02:00
mshtml mshtml: Added IHTMLElement2::get_dir implementation. 2007-12-03 11:51:56 +01:00
mshtml.tlb mshtml.tlb: Fixed a typo in copyright header. 2007-07-31 11:31:18 +02:00
msi msi: Don't check for the media or cabinet if the cabinet is internal. 2007-11-29 13:37:13 +01:00
msimg32
msimtf msimtf: Fixed typos. 2007-11-02 12:22:35 +01:00
msisys.ocx
msnet32
msrle32 msrle32: Add Swedish translation. 2007-10-16 12:41:01 +02:00
msvcirt msvcirt: Added stub implementation of msvcirt.dll. 2007-09-28 20:43:43 +02:00
msvcrt msvcrt: Test more offsets for _aligned_offset_realloc (especially offset > alignment). 2007-11-28 13:52:22 +01:00
msvcrt20 msvcrt20: Exclude unused header. 2007-05-15 12:19:04 +02:00
msvcrt40 Get rid of some empty source files, our makefiles no longer require them. 2007-05-04 12:27:34 +02:00
msvcrtd
msvfw32 msvfw32: Add Swedish translation. 2007-10-16 12:38:21 +02:00
msvidc32 msvidc32: Add Swedish translation. 2007-10-16 12:39:42 +02:00
mswsock wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
msxml3 msxml: Tests for createTextNode. 2007-11-21 12:55:35 +01:00
nddeapi
netapi32 netapi32: Remove one tests and simplify another based on the limited range of unsigned. 2007-11-26 13:57:09 +01:00
newdev
ntdll ntdll: Trace arena magics (may help debugging some heap corruptions). 2007-11-28 11:17:56 +01:00
ntdsapi
ntoskrnl.exe ntoskrnl: Remove trailing spaces in Wine traces. 2007-11-13 13:35:59 +01:00
ntprint Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
objsel objsel: Remove 'recursive registry key delete' function. 2007-08-23 20:18:32 +02:00
odbc32 odbc32: Constify some variables. 2007-02-21 19:48:22 +01:00
odbccp32 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
ole32 ole32: Ignore the threading model of the PSFactoryBuffer object created during standard marshaling. 2007-12-03 11:55:00 +01:00
oleacc wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
oleaut32 oleaut32: Implement OLEPictureImpl_GetIDsOfNames. 2007-12-03 11:52:13 +01:00
olecli32 olecli32: Fix invalid syntax. 2007-11-19 15:00:55 +01:00
oledlg oledlg: Updated Korean resource. 2007-10-25 13:58:43 +02:00
olepro32 Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
olesvr32
olethk32 olethk32: Added stub implementation. 2007-09-11 11:48:49 +02:00
opengl32 wgl: Add wglCopyContext support. 2007-11-12 14:16:44 +01:00
pdh pdh: Make two tests pass on Vista. 2007-11-12 11:40:45 +01:00
powrprof
printui printui: Parse args for PrintUIEntryW. 2007-07-13 14:35:42 +02:00
psapi psapi: GetWsChanges() calls down to the wrong ntdll function. Found by sparse. 2007-06-06 12:12:05 +02:00
pstorec
qcap qcap: Fix a mem leak on an error path. Found by Smatch. 2007-11-19 13:53:43 +01:00
qmgr qmgr: Skeleton implementation of Background Intelligent Transfer Service (BITS). 2007-10-11 16:24:28 +02:00
quartz dlls: Remove duplicate includes. 2007-11-19 13:54:46 +01:00
query
rasapi32
resutils
riched20 riched20: Fix test failure in test_WM_PASTE. 2007-11-08 12:36:35 +01:00
riched32 riched32: Skeleton of richedit 1.0 test plus WM_SETTEXT test. 2007-10-23 19:37:23 +02:00
rpcrt4 rpcrt4: Test that the string retrieved from get_name was actually unmarshalled correctly. 2007-12-03 13:10:21 +01:00
rsabase
rsaenh crypt32: Support setting the salt value through KP_SALT_EX. 2007-11-29 13:34:56 +01:00
sane.ds sane.ds: Fix a memory leak. 2007-11-09 13:04:14 +01:00
schannel schannel: Use FIELD_OFFSET instead of offsetof. 2007-05-29 13:44:35 +02:00
secur32 secur32: ntlm_auth returns BH if the connection to winbindd fails. 2007-10-09 12:34:35 +02:00
security
sensapi
serialui serialui: Add Swedish translation. 2007-10-16 12:40:25 +02:00
setupapi setupapi: Remove duplicate includes. 2007-11-19 13:54:17 +01:00
sfc sfc_os: Add stub implementation for SfcIsKeyProtected. 2007-06-04 12:58:16 +02:00
sfc_os sfc_os: Add stub implementation for SfcIsKeyProtected. 2007-06-04 12:58:16 +02:00
shdoclc shdoclc: Update Swedish translation. 2007-10-16 12:42:08 +02:00
shdocvw shdocvw: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-28 11:19:46 +01:00
shell32 shell32: GetModuleFileNameW gets number of WCHARs not bytes. 2007-11-26 14:02:50 +01:00
shfolder Get rid of some empty source files, our makefiles no longer require them. 2007-05-04 12:27:34 +02:00
shlwapi shlwapi: Fixed SHPackDispParamsV spec declaration. 2007-11-13 13:29:20 +01:00
snmpapi snmpapi: Make a test pass on Vista. 2007-11-12 11:40:55 +01:00
spoolss spoolss/test: Add a test for BuildOtherNamesFromMachineName. 2007-10-22 12:36:07 +02:00
stdole2.tlb
stdole32.tlb
sti
strmiids
svrapi
sxs sxs: Add new dll stub. 2007-04-23 16:16:53 +02:00
tapi32 tapi32: Add stub for lineInitializeExA. 2007-10-22 14:54:39 +02:00
twain_32 twain_32: Constify a variable. 2007-11-08 12:18:30 +01:00
unicows
url url: Fix prototype of FileProtocolHandlerA. 2007-11-05 12:09:54 +01:00
urlmon urlmon: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-30 12:43:42 +01:00
user32 user32: Add a FIXME for animated cursors. 2007-12-03 13:18:50 +01:00
userenv userenv: Add a stub for UnloadUserProfile. 2007-09-21 12:05:42 +02:00
usp10 usp10: Fix some more memory leaks. 2007-11-09 12:25:38 +01:00
uuid dlls: Remove duplicate includes. 2007-11-19 13:54:46 +01:00
uxtheme Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
vdhcp.vxd
vdmdbg vdmdbg: Add a stub implementation of VDMEnumTaskWOW. 2007-07-17 14:12:19 +02:00
version version: Use GetModuleHandleEx to increment the module ref count. 2007-11-01 12:41:44 +01:00
vmm.vxd vmm.vxd: Exclude unused headers. 2007-05-21 13:36:24 +02:00
vnbt.vxd
vnetbios.vxd
vtdapi.vxd
vwin32.vxd
w32skrnl winebuild: Check if a given forward does exist in one of the imported dlls, fix a couple of problems detected. 2007-04-09 12:19:31 +02:00
winealsa.drv winealsa.drv: Fix a comment. 2007-12-03 13:18:44 +01:00
wineaudioio.drv wineaudioio.drv: Add DebugInfo to critical sections. 2007-03-12 13:40:44 +01:00
winecoreaudio.drv coreaudio: Verify valid lineId in MIXER_GETLINECONTROLSF_ONEBYTYPE. 2007-11-29 15:32:09 +01:00
winecrt0 include: Move Wine-specific EH_* defines from winnt.h to include/wine/exception.h. 2007-12-03 11:54:10 +01:00
wined3d wined3d: Enabling too many lights is silently ignored. 2007-12-03 13:44:07 +01:00
winedos winedos: Use DWORD instead of long for return values of SetFilePointer. 2007-11-26 13:57:20 +01:00
wineesd.drv Mark several functions as static. 2007-03-13 13:35:12 +01:00
winejack.drv Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
winejoystick.drv
winemp3.acm winemp3: Remove function declarations with no definition and unused macros. 2007-07-11 12:16:06 +02:00
winenas.drv winenas.drv: Add workaround for INT64 type too. 2007-10-02 15:03:07 +02:00
wineoss.drv wineoss: Remove useless fixme shown on initialisation. 2007-10-09 17:52:46 +02:00
wineps.drv include: Synchronize DEVMODE layout with PSDK. 2007-11-01 12:41:21 +01:00
winequartz.drv
winex11.drv winex11.drv: Make sure to erase the dragging frame before moving the window. 2007-11-21 13:22:42 +01:00
wing32 dlls: Add wing32 dll. 2007-02-23 11:18:29 +01:00
winhttp Include objbase.h where need to get the DllRegisterServer prototype. 2007-11-06 14:39:16 +01:00
wininet wininet: Don't clear the auth data for Basic authentication in HTTP_InsertAuthorizationForHeader. 2007-11-27 16:42:26 +01:00
winmm winmm: Correct check for MIXER_GETLINECONTROLSF_ONEBYTYPE in mixerGetLineControlsA. 2007-11-29 15:32:03 +01:00
winnls32
winscard winscard: Use quotes to include winscard.h. Fixes a winapi_check warning. 2007-08-30 17:02:49 +02:00
winspool.drv winspool: Use unsigned type to avoid a compiler warning. 2007-11-07 13:34:37 +01:00
wintab32 wintab32: Add DisableThreadLibraryCalls. 2007-09-21 12:42:22 +02:00
wintrust Include objbase.h where need to get the DllRegisterServer prototype. 2007-11-06 14:39:16 +01:00
wldap32 wldap32: Always return WLDAP32 error values instead of redefining the ldap.h ones. 2007-11-08 13:11:34 +01:00
wnaspi32 wnaspi32: Fix controller number validation. 2007-11-02 13:03:38 +01:00
wow32
ws2_32 server: Pass Information field from async I/O APCs. 2007-11-15 14:24:50 +01:00
wsock32 wsock32: Forward AcceptEx and GetAcceptExSockaddrs to mswsock. 2007-11-21 13:23:04 +01:00
wtsapi32 wtsapi32: Add stub for WTSUnRegisterSessionNotification. 2007-09-25 12:37:32 +02:00
Makedll.rules.in kernel32: Set the dll file name with the correct case to make EXECryptor happy. 2007-05-08 13:25:48 +02:00
Makefile.in inetcomm: Add a test for MimeOleCreateVirtualStream. 2007-11-06 13:01:00 +01:00
Makeimplib.rules.in
Maketest.rules.in Maketest.rules: Add dependency on IDL headers for crosstest objects. 2007-07-06 18:20:06 +02:00