projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
696950b
)
ddraw: Return appropriate value for non matching 32 bit pixel format in PixelFormat_D...
author
Frédéric Delanoy
<frederic.delanoy@gmail.com>
Fri, 23 Nov 2012 18:36:14 +0000
(19:36 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 26 Nov 2012 10:49:47 +0000
(11:49 +0100)
dlls/ddraw/utils.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ddraw/utils.c
b/dlls/ddraw/utils.c
index
d990440
..
1964452
100644
(file)
--- a/
dlls/ddraw/utils.c
+++ b/
dlls/ddraw/utils.c
@@
-446,6
+446,7
@@
enum wined3d_format_id PixelFormat_DD2WineD3D(const DDPIXELFORMAT *DDPixelFormat
}
WARN("32 bit RGB pixel format does not match.\n");
+ return WINED3DFMT_UNKNOWN;
default:
WARN("Invalid dwRGBBitCount in Pixelformat structure.\n");