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
8f7ac8b5
Commit
8f7ac8b5
authored
Apr 17, 2001
by
Ove Kaaven
Committed by
Alexandre Julliard
Apr 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented the ddraw HAL access escape (DCICOMMAND) in x11drv.
parent
d62c3f16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
init.c
graphics/x11drv/init.c
+23
-1
No files found.
graphics/x11drv/init.c
View file @
8f7ac8b5
...
...
@@ -15,6 +15,7 @@
#include "debugtools.h"
#include "winnt.h"
#include "x11drv.h"
#include "ddrawi.h"
DEFAULT_DEBUG_CHANNEL
(
x11drv
);
...
...
@@ -321,6 +322,18 @@ static INT X11DRV_Escape( DC *dc, INT nEscape, INT cbInput,
{
switch
(
nEscape
)
{
case
QUERYESCSUPPORT
:
if
(
lpInData
)
{
LPINT16
lpEscape
=
MapSL
(
lpInData
);
switch
(
*
lpEscape
)
{
case
DCICOMMAND
:
return
DD_HAL_VERSION
;
}
}
break
;
case
GETSCALINGFACTOR
:
if
(
lpOutData
)
{
...
...
@@ -329,7 +342,16 @@ static INT X11DRV_Escape( DC *dc, INT nEscape, INT cbInput,
return
1
;
}
break
;
case
DCICOMMAND
:
if
(
lpInData
)
{
LPDCICMD
lpCmd
=
MapSL
(
lpInData
);
if
(
lpCmd
->
dwVersion
!=
DD_VERSION
)
break
;
return
X11DRV_DCICommand
(
cbInput
,
lpCmd
,
MapSL
(
lpOutData
));
}
break
;
}
return
0
;
}
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