Hans Leidekker
63aff890d7
janitorial: Remove unneeded user32 imports.
2008-12-17 11:38:36 +01:00
Hans Leidekker
8bd9a3aa09
janitorial: Don't depend on user32 for the self registration functions.
2008-12-17 11:38:32 +01:00
Stefan Dösinger
704f9ea5d1
wined3d: Get rid of IWineD3DPixelShaderImpl_GenerateShader.
2008-12-16 14:36:25 +01:00
Stefan Dösinger
2aa7a7fe16
wined3d: Avoid loading opengl32.dll.
...
This confuses applications like Steam, which hook d3d9 and opengl
functions. It sees that the application uses opengl32, but it doesn't
realize that d3d9 is wrapped to opengl. Thus it starts messing around
with wined3d's wgl context. It usually tries to draw geometry with the
context, but cannot deal with some of the obscure extensions we have
activated.
2008-12-16 14:36:17 +01:00
Stefan Dösinger
4bc5e760b6
wined3d: Initialize max_combined_samplers properly.
...
Otherwise it will be 0 if GL_ARB_multitexture is not available.
2008-12-16 14:36:02 +01:00
Stefan Dösinger
5315b7992d
wined3d: Correct a stage number.
2008-12-16 14:34:20 +01:00
Stefan Dösinger
31da3c0578
wined3d: Emulate GL_EXT_fog_coord.
2008-12-16 14:34:11 +01:00
Stefan Dösinger
d707f018df
wined3d: Remove some needless initializations.
...
They're not needed, they are handled by the state management anyway.
2008-12-16 14:32:43 +01:00
Stefan Dösinger
4b268c79d7
wined3d: Some GL_EXT_fog_coord prototype fixes.
2008-12-16 14:32:29 +01:00
Stefan Dösinger
0dc0444c14
wined3d: Reinstall the G16R16F format surface load fixup.
...
We cannot remove this because we still have to load the surface as
RGB. The shader may take care of setting the blue channel to 1.0 now,
but we still get the red and green channels loaded incorrectly if we
don't insert a blue channel before loading.
2008-12-16 14:32:11 +01:00
Stefan Dösinger
6ec741e766
wined3d: Set up the shaders when delaying fixed func applying.
2008-12-16 14:31:39 +01:00
Stefan Dösinger
199a3468bf
wined3d: Fake GL_ARB_multitexture.
2008-12-16 14:31:25 +01:00
Andrew Talbot
b5081dacc0
user32: Sign-compare warnings fix.
2008-12-16 14:27:50 +01:00
Dan Kegel
72ffe1da67
msvcrt: fread: Exhaust buffered data before using unbuffered data in ascii mode.
2008-12-16 14:23:40 +01:00
Alexander Morozov
902443579f
ntoskrnl.exe: Add stubs for Io{Allocate,Get}DriverObjectExtension.
2008-12-16 14:10:53 +01:00
Dylan Smith
c87ca3d9e8
richedit: Move implementation of WM_CHAR to its own function.
2008-12-16 14:10:25 +01:00
Dylan Smith
e5f5dc60a7
richedit: Removed some unnecessary SendMessage calls to itself.
2008-12-16 14:10:19 +01:00
Dylan Smith
c7c2ff1fbc
richedit: Move implementation of EM_GETTEXTEX to its own function.
2008-12-16 14:09:47 +01:00
Dylan Smith
4f41972b15
richedit: Move implementation of EM_GETTEXTRANGE to its own function.
...
The RichEditWndProc_common function is big enough already by handling
all the window messages, so moving code to handle a message to its own
function makes the code more readable.
2008-12-16 14:09:40 +01:00
Jeremy Drake
970a500fb4
oleaut32/tests: Fix double GlobalFree in olepicture tests.
2008-12-16 14:08:55 +01:00
Michael Stefaniuc
1825e371b7
d3dxof/tests: Remove redundant NULL check before HeapFree (Smatch).
2008-12-16 14:08:40 +01:00
Hans Leidekker
425fc8def3
pidgen: Add a placeholder BINK resource.
...
Adds a binary resource that consists of the string "Wine placeholder
BINK resource" padded with zeroes.
2008-12-16 14:07:36 +01:00
Hans Leidekker
efa2fcc073
pidgen: Add stub implementation.
2008-12-16 14:06:03 +01:00
Hans Leidekker
152c249254
hal: Add version resource.
2008-12-16 13:59:03 +01:00
Nikolay Sivov
e2615cc059
gdiplus: Fix Font test failure on charset mismatch.
2008-12-16 12:52:38 +01:00
Lei Zhang
7e1b714f74
quartz: Enumerate all the pins on filter and check directions when rendering.
2008-12-16 12:52:32 +01:00
Jacek Caban
db5d8a2bd0
mshtml: Fixed IHTMLInputTextElement vtbl and QueryInterface implementation.
...
Spotted by Andrew Talbot.
2008-12-16 12:52:27 +01:00
Jacek Caban
4eb80d8d51
jscript: Delay setting named info if SCRIPTITEM_GLOBALMEMBER flag is not set.
2008-12-16 12:52:22 +01:00
Henri Verbeet
dfe41770e7
d3d8: Add a test for GetVertexShader() with a FVF set.
2008-12-16 12:52:16 +01:00
Henri Verbeet
143fb431e0
wined3d: Fix use_vs() usage in vertexdeclaration().
2008-12-16 12:52:10 +01:00
Henri Verbeet
f3743fb402
wined3d: Shaders will never have a NULL function.
2008-12-16 12:52:04 +01:00
Henri Verbeet
46572f682c
wined3d: Refuse to create shaders with a NULL function.
2008-12-16 12:51:49 +01:00
Henri Verbeet
62497e8772
d3d8: Remove unused code.
...
Also corrects some related comments.
2008-12-16 12:51:40 +01:00
Paul Vriens
9bc409cfcb
riched20/tests: Fix test failures on Win9x, WinMe and Wine in win9x mode.
2008-12-16 12:51:31 +01:00
Paul Vriens
1a853abecb
comctl32/tests: Destroy the window after the tests.
2008-12-16 12:51:26 +01:00
Paul Vriens
017fee4aa0
msi/tests: Run tests again on Win9x and NT4.
2008-12-16 12:51:20 +01:00
Paul Vriens
5021965d2e
rpcrt4/tests: Move function pointer initialization to the init function.
2008-12-16 12:51:16 +01:00
Paul Vriens
1aa9e3846c
rpcrt4/tests: Use GetModuleHandle instead of LoadLibrary.
2008-12-16 12:51:12 +01:00
Paul Vriens
99eaf51bb7
xinput1_3/tests: Call FreeLibrary() after tests.
2008-12-16 12:51:08 +01:00
Paul Vriens
f4da3fd7ac
user32/tests: Destroy the windows after the tests.
2008-12-16 12:51:03 +01:00
Alexandre Julliard
ccdfa4941e
ntdll: Add support for dynamically generated stub entry points.
...
Based on a patch by Maarten Lankhorst.
2008-12-16 12:25:07 +01:00
Alexandre Julliard
8a658d7d51
msvcrt: Rename _ftime to avoid conflicts.
2008-12-15 20:08:33 +01:00
Alexandre Julliard
e2b3ee535f
msvcrt: The __p_* functions are only exported on i386.
2008-12-15 16:20:08 +01:00
Alexandre Julliard
b19913ac70
msvcrt: Add a few more *_func functions to replace the __p_* ones.
2008-12-15 16:03:32 +01:00
Alexandre Julliard
bcfd7dd3ff
msvcrt: The _CI* math functions are only exported on i386.
2008-12-15 15:40:45 +01:00
Henri Verbeet
0a47e1beb4
d3d8: Use the wined3d declaration to retrieve the d3d8 shader in IDirect3DDevice8Impl_GetVertexShader().
...
This makes it no longer necessary to create a wined3d vertex shader
when the d3d8 vertex shader has a NULL function.
2008-12-15 14:00:46 +01:00
Henri Verbeet
b9468a89fc
d3d8: Create a d3d8 declaration as parent for FVF based declarations.
2008-12-15 14:00:37 +01:00
Henri Verbeet
9011452243
wined3d: Simplify shader_generate_main() a bit.
2008-12-15 14:00:29 +01:00
Henri Verbeet
8553665cb1
wined3d: Move the shader version to reg_maps.
2008-12-15 14:00:26 +01:00
Henri Verbeet
dd094fe69d
wined3d: Explicitly pass the shader version to some more functions.
2008-12-15 14:00:21 +01:00