Module: wine
Branch: master
Commit: b1d089baa3751ce5f59c080dc7eb5ebb191f899a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b1d089baa3751ce5f59c080dc…
Author: André Hentschel <nerv(a)dawncrow.de>
Date: Sat Jun 11 16:45:24 2011 +0200
c2man: Initialise current comment info.
---
tools/c2man.pl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/c2man.pl b/tools/c2man.pl
index 8030bc4..9c67488 100755
--- a/tools/c2man.pl
+++ b/tools/c2man.pl
@@ -420,6 +420,7 @@ sub process_source_file($)
if ($parse_state == 4) # Reading in the function definition
{
# This file is used by the DLL - Make sure we get our contributors right
+ @{$spec_files{$comment->{DLL_NAME}}[0]->{CURRENT_EXTRA}} = ();
push (@{$spec_files{$comment->{DLL_NAME}}[0]->{SOURCES}},$comment->{FILE});
push (@{$comment->{PROTOTYPE}},$_);
Module: wine
Branch: master
Commit: 2bcd4398182df76ea40ce84651d7b554f3660b9a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2bcd4398182df76ea40ce8465…
Author: Marcus Meissner <marcus(a)jet.franken.de>
Date: Sat Jun 11 18:05:02 2011 +0200
wined3d: Don't just print a FIXME on error, handle it (Coverity).
---
dlls/wined3d/device.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 5bc5a08..30d5b95 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1872,12 +1872,13 @@ HRESULT CDECL wined3d_device_multiply_transform(struct wined3d_device *device,
* below means it will be recorded in a state block change, but it
* works regardless where it is recorded.
* If this is found to be wrong, change to StateBlock. */
+ if (state > HIGHEST_TRANSFORMSTATE)
+ {
+ WARN("Unhandled transform state %#x.\n", state);
+ return WINED3D_OK;
+ }
- if (state <= HIGHEST_TRANSFORMSTATE)
- mat = &device->updateStateBlock->state.transforms[state];
- else
- FIXME("Unhandled transform state %#x.\n", state);
-
+ mat = &device->updateStateBlock->state.transforms[state];
multiply_matrix(&temp, mat, matrix);
/* Apply change via set transform - will reapply to eg. lights this way. */