Author: greatlrd
Date: Tue Jul 18 22:55:11 2006
New Revision: 23159
URL:
http://svn.reactos.org/svn/reactos?rev=23159&view=rev
Log:
DrvGetDirectDrawInfo
fixing a bug I did set halinfo to wrong size
Modified:
trunk/reactos/drivers/video/displays/framebuf/ddenable.c
Modified: trunk/reactos/drivers/video/displays/framebuf/ddenable.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/displays/fra…
==============================================================================
--- trunk/reactos/drivers/video/displays/framebuf/ddenable.c (original)
+++ trunk/reactos/drivers/video/displays/framebuf/ddenable.c Tue Jul 18 22:55:11 2006
@@ -179,8 +179,8 @@
if(!(pvmList && pdwFourCC))
{
- RtlZeroMemory(pHalInfo, sizeof(DDHALINFO));
- pHalInfo->dwSize = sizeof(DDHALINFO);
+ RtlZeroMemory(pHalInfo, sizeof(DD_HALINFO));
+ pHalInfo->dwSize = sizeof(DD_HALINFO);
pHalInfo->ddCaps.dwCaps = DDCAPS_BLT | DDCAPS_BLTQUEUE |
DDCAPS_BLTCOLORFILL | DDCAPS_READSCANLINE |
DDCAPS_BLTSTRETCH | DDCAPS_COLORKEY | DDCAPS_CANBLTSYSMEM;