Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5b7e1810
Commit
5b7e1810
authored
Feb 14, 2001
by
Andreas Mohr
Committed by
Alexandre Julliard
Feb 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- correct DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1 confusion
- fix GetAvailableVidMem ddraw iface copy&paste bug (doh !)
parent
6e7ded45
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
thunks.c
dlls/ddraw/ddraw/thunks.c
+2
-2
ddraw_private.h
dlls/ddraw/ddraw_private.h
+2
-2
struct_convert.c
dlls/ddraw/struct_convert.c
+2
-2
No files found.
dlls/ddraw/ddraw/thunks.c
View file @
5b7e1810
...
...
@@ -836,7 +836,7 @@ IDirectDraw4Impl_GetAvailableVidMem(LPDIRECTDRAW4 This, LPDDSCAPS2 pCaps,
LPDWORD
pdwTotal
,
LPDWORD
pdwFree
)
{
return
IDirectDraw7_GetAvailableVidMem
(
COM_INTERFACE_CAST
(
IDirectDrawImpl
,
IDirectDraw
2
,
IDirectDraw
4
,
IDirectDraw7
,
This
),
pCaps
,
pdwTotal
,
pdwFree
);
...
...
@@ -884,7 +884,7 @@ IDirectDraw4Impl_GetDeviceIdentifier(LPDIRECTDRAW4 This,
This
),
&
DDDI2
,
dwFlags
);
DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1
(
pDDDI
,
&
DDDI2
);
DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1
(
&
DDDI2
,
pDDDI
);
return
hr
;
}
...
...
dlls/ddraw/ddraw_private.h
View file @
5b7e1810
...
...
@@ -305,8 +305,8 @@ extern HRESULT create_direct3d7(LPVOID *obj,IDirectDrawImpl*);
* Structure conversion (for thunks)
*/
void
DDRAW_Convert_DDSCAPS_1_To_2
(
const
DDSCAPS
*
pIn
,
DDSCAPS2
*
pOut
);
void
DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1
(
const
DDDEVICEIDENTIFIER
*
pIn
,
DDDEVICEIDENTIFIER
2
*
pOut
);
void
DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1
(
const
DDDEVICEIDENTIFIER
2
*
pIn
,
DDDEVICEIDENTIFIER
*
pOut
);
/******************************************************************************
* Debugging / Flags output functions
...
...
dlls/ddraw/struct_convert.c
View file @
5b7e1810
...
...
@@ -19,8 +19,8 @@ void DDRAW_Convert_DDSCAPS_1_To_2(const DDSCAPS* pIn, DDSCAPS2* pOut)
pOut
->
dwCaps4
=
0
;
}
void
DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1
(
const
DDDEVICEIDENTIFIER
*
pIn
,
DDDEVICEIDENTIFIER
2
*
pOut
)
void
DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1
(
const
DDDEVICEIDENTIFIER
2
*
pIn
,
DDDEVICEIDENTIFIER
*
pOut
)
{
/* 2 adds a dwWHQLLevel field to the end. Both structures are
* unversioned. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment