Commit Graph

41546 Commits

Author SHA1 Message Date
Stefan Dösinger 7ba04e6132 wined3d: Detect the Intel GPU in macbooks. 2007-12-03 13:44:31 +01:00
Stefan Dösinger 8804a972d9 wined3d: Unify bpp to format conversion. 2007-12-03 13:44:18 +01:00
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
Stefan Dösinger 0f39b29da0 wined3d: mov to a0.x does a floor(), not a round to nearest. 2007-12-03 13:43:54 +01:00
Andrew Riedi 3d08d32a42 user32: Add a FIXME for animated cursors. 2007-12-03 13:18:50 +01:00
Andrew Riedi 0e568af828 winealsa.drv: Fix a comment. 2007-12-03 13:18:44 +01:00
Gerald Pfeifer 04cb111efc wined3d: Fix handling of a special case in IWineD3DImpl_FillGLCaps() and adjust type of loop variable. 2007-12-03 13:17:54 +01:00
Gerald Pfeifer a20f4a6bbf comctl32: Remove extraneous check (unsigned < 0). 2007-12-03 13:17:42 +01:00
Ted Percival 99d14ada78 regedit: Display REG_DWORD as unsigned with lowercase hex digits. 2007-12-03 13:10:21 +01:00
Andrew Talbot 1bf787d521 comctl32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Andrew Talbot 263cb72e13 advapi32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Andrew Talbot b3e56e9d0b cabinet: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Rob Shearman a4450f0af9 d3dx8: Initialise temp in D3DXQuaternionInverse to avoid a uninitialised variable warning with some versions of gcc. 2007-12-03 13:10:21 +01:00
Rob Shearman 620fca405d rpcrt4: Test that the string retrieved from get_name was actually unmarshalled correctly. 2007-12-03 13:10:21 +01:00
Rob Shearman d8e467b0fd rpcrt4: Reverse the conditions for which *pPointer is assigned base_ptr_val in PointerUnmarshall.
In one condition (fMustAlloc == TRUE), base_ptr_val may be uninitialised
and so cause a valgrind warning. Reversing the check is harmless and
doesn't result in a performance decrease.
2007-12-03 13:10:21 +01:00
Rob Shearman eef207e3f1 rpcrt4: Initialise the memory in test_simple_struct_marshal before passing it to NdrSimpleStructUnmarshall.
Otherwise, the unmarshalling code will read from unintialised memory
when trying to reuse the embedded pointers in the memory block.

Also fix a couple of memory leaks.
2007-12-03 13:10:21 +01:00
Rob Shearman 49a5f7cb12 include: Fix the HRESULT_FROM_WIN32 macro to not change the HRESULT if the error is already an HRESULT. 2007-12-03 11:55:48 +01:00
Rob Shearman 31b2d81ea0 ole32: Ignore the threading model of the PSFactoryBuffer object created during standard marshaling.
This is so that we don't try to host it.
2007-12-03 11:55:00 +01:00
Rob Shearman f65e04770d ole32: Always create a window for the main apartment. 2007-12-03 11:54:16 +01:00
Rob Shearman 9f8d379fb3 include: Move Wine-specific EH_* defines from winnt.h to include/wine/exception.h. 2007-12-03 11:54:10 +01:00
Rob Shearman 656618310b oleaut32: Implement OLEPictureImpl_GetIDsOfNames. 2007-12-03 11:52:13 +01:00
Paul Vriens b3a85a3fc4 kernel32: Add some simple tests for GetVersionExA. 2007-12-03 11:52:01 +01:00
Jacek Caban 29d66b48ef mshtml: Added IHTMLElement2::get_dir implementation. 2007-12-03 11:51:56 +01:00
Alexandre Julliard dec6833678 Release 0.9.50. 2007-11-30 18:38:15 +01:00
Jacek Caban 77ee756c91 mshtml: Added IHTMLTable interface stub implementation. 2007-11-30 14:21:13 +01:00
Jacek Caban ce81e30f53 mshtml.idl: Added IHTMLTable declaration. 2007-11-30 14:20:57 +01:00
Francois Gouget c186233892 d3dx8/tests: Fix compilation on systems that don't support nameless unions. 2007-11-30 14:20:39 +01:00
Stefan Dösinger abf5240310 user32: Destroying the current cursor results in an error. 2007-11-30 14:01:34 +01:00
Stefan Dösinger 94cd8c276a wined3d: Remove the X channel fixup in render target unlocking. 2007-11-30 14:01:34 +01:00
Stefan Leichter db24d3af9a kernel32: Added stub for FindVolumeClose. 2007-11-30 12:43:59 +01:00
Michael Stefaniuc 2ad6cc19b7 urlmon: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-30 12:43:42 +01:00
Sven Paschukat a080af035e ctapi32: Added null terminator to library name. 2007-11-30 12:43:37 +01:00
Rob Shearman c735a14788 rpcrt4: Fix NdrSimpleStructUnmarshall to cope with [in, out] embedded pointers. 2007-11-30 11:56:30 +01:00
Rob Shearman b676309db3 rpcrt4: Improve PointerUnmarshall to cope with keeping the non-NULL source pointer of a client unmarshall.
This will enable various types with embedded pointers to handle [in,out] 
parameters correctly by keeping the existing memory.
2007-11-30 11:56:21 +01:00
Rob Shearman 4e8f69ac2d rpcrt4: Move forcing of fMustAlloc to NULL to the callers of EmbeddedPointerUnmarshall.
This will enable them to be individually fixed up to use memory if it 
was provided by the caller.
2007-11-30 11:56:11 +01:00
Rob Shearman 43e0c67fe2 rpcrt4: EmbeddedPointerUnmarshall doesn't need to change the address of the allocated memory, so reduce the level of indirection of the memory parameter by one. 2007-11-30 11:56:04 +01:00
Rob Shearman 34522de870 rpcrt4: Errors in sending or receiving packets should result in RPC_S_CALL_FAILED being returned, not RPC_S_PROTOCOL_ERROR. 2007-11-30 11:55:50 +01:00
Louis Lenders defbdf76e5 advapi32: Add stub for CreateProcessWithLogonW. 2007-11-29 15:46:50 +01:00
Gerald Pfeifer 24186d42da gdi32: Fix the type of two loop variables. 2007-11-29 15:36:49 +01:00
Gerald Pfeifer 2ff2d88510 user32: Reduce scope of variable in ICO_ExtractIconExW() and initialize it. 2007-11-29 15:35:09 +01:00
Gerald Pfeifer cdaf13052a winedbg: Warning fixes. 2007-11-29 15:34:45 +01:00
Gerald Pfeifer 3ce295a1ef kernel32: Handle default case in Local32_FromHandle(). 2007-11-29 15:33:15 +01:00
Alexandre Julliard 6475603985 libwine: Work around the Mac OS dynamic loader support for PE files. 2007-11-29 15:32:49 +01:00
Aric Stewart b314f13219 coreaudio: Verify valid lineId in MIXER_GETLINECONTROLSF_ONEBYTYPE. 2007-11-29 15:32:09 +01:00
Aric Stewart 35ecb1b6ee winmm: Correct check for MIXER_GETLINECONTROLSF_ONEBYTYPE in mixerGetLineControlsA. 2007-11-29 15:32:03 +01:00
Marco Schuster 15e1c57141 wined3d: Added a card ID for a 8600 Mobile GT. 2007-11-29 15:31:54 +01:00
Andrew Talbot fd03f4ae86 advapi32: Fix a typo. 2007-11-29 13:39:16 +01:00
James Hawkins 33a4fe19de msi: Don't check for the media or cabinet if the cabinet is internal. 2007-11-29 13:37:13 +01:00
James Hawkins 32d3ffc5c5 msi: Make sure attr is valid before checking for the directory bit. 2007-11-29 13:37:07 +01:00
Stefan Dösinger d09cbcec91 wined3d: Activate GL_ARB_texture_rectangle. 2007-11-29 13:36:55 +01:00