projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4e1dbf
)
adding get FourCC working now
author
Magnus Olsen
<magnus@greatlord.com>
Thu, 7 Jun 2007 13:12:55 +0000
(13:12 +0000)
committer
Magnus Olsen
<magnus@greatlord.com>
Thu, 7 Jun 2007 13:12:55 +0000
(13:12 +0000)
svn path=/trunk/; revision=27049
reactos/dll/directx/ddraw/startup.c
patch
|
blob
|
history
diff --git
a/reactos/dll/directx/ddraw/startup.c
b/reactos/dll/directx/ddraw/startup.c
index
d4b24cb
..
76388a5
100644
(file)
--- a/
reactos/dll/directx/ddraw/startup.c
+++ b/
reactos/dll/directx/ddraw/startup.c
@@
-438,7
+438,6
@@
StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
return DD_FALSE;
}
-#if 0
DX_STUB_str("Trying alloc FourCCC \n");
/* Alloc mpFourCC */
@@
-449,9
+448,8
@@
StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
if (mHALInfo.ddCaps.dwNumFourCCCodes > 0 )
{
- DxHeapMemAlloc(mpFourCC, sizeof(DWORD) * 21);
-
- mpFourCC = (DWORD *) DxHeapMemAlloc(sizeof(DWORD) * (mHALInfo.ddCaps.dwNumFourCCCodes + 2));
+
+ DxHeapMemAlloc(mpFourCC, sizeof(DWORD) * (mHALInfo.ddCaps.dwNumFourCCCodes + 2));
if (mpFourCC == NULL)
{
@@
-462,7
+460,7
@@
StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
}
DX_STUB_str("End Trying alloc FourCCC\n");
-#endif
+