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
96bd8ea7
Commit
96bd8ea7
authored
Feb 03, 2004
by
Alex Pasadyn
Committed by
Alexandre Julliard
Feb 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the first mode in the XVidMode mode list as the default.
parent
c31d413c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
xvidmode.c
dlls/x11drv/xvidmode.c
+3
-5
No files found.
dlls/x11drv/xvidmode.c
View file @
96bd8ea7
...
...
@@ -57,7 +57,6 @@ static LPDDHALMODEINFO dd_modes;
static
unsigned
int
dd_mode_count
;
static
XF86VidModeModeInfo
**
real_xf86vm_modes
;
static
unsigned
int
real_xf86vm_mode_count
;
static
unsigned
int
xf86vm_initial_mode
=
0
;
static
void
convert_modeinfo
(
const
XF86VidModeModeInfo
*
mode
)
{
...
...
@@ -114,7 +113,7 @@ int X11DRV_XF86VM_GetCurrentMode(void)
return
i
;
}
ERR
(
"In unknown mode, returning default
\n
"
);
return
xf86vm_initial_mode
;
return
0
;
}
void
X11DRV_XF86VM_SetCurrentMode
(
int
mode
)
...
...
@@ -211,9 +210,8 @@ void X11DRV_XF86VM_Init(void)
TRACE
(
"Available DD modes: count=%d
\n
"
,
dd_mode_count
);
/* store the current mode at the time we started */
xf86vm_initial_mode
=
X11DRV_XF86VM_GetCurrentMode
();
X11DRV_Settings_SetDefaultMode
(
xf86vm_initial_mode
);
/* the first mode in the list seems to be the default */
X11DRV_Settings_SetDefaultMode
(
0
);
TRACE
(
"Enabling XVidMode
\n
"
);
}
...
...
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