Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f08854ac
Commit
f08854ac
authored
Oct 25, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Avoid depending on ddraw.h.
parent
fd06135d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
init.c
dlls/winex11.drv/init.c
+0
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+7
-0
xvidmode.c
dlls/winex11.drv/xvidmode.c
+2
-3
No files found.
dlls/winex11.drv/init.c
View file @
f08854ac
...
...
@@ -27,7 +27,6 @@
#include "winbase.h"
#include "winreg.h"
#include "x11drv.h"
#include "ddrawi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
x11drv
);
...
...
dlls/winex11.drv/x11drv.h
View file @
f08854ac
...
...
@@ -114,6 +114,13 @@ typedef struct
int
exposures
;
/* count of graphics exposures operations */
}
X11DRV_PDEVICE
;
struct
x11drv_gamma_ramp
{
WORD
red
[
256
];
WORD
green
[
256
];
WORD
blue
[
256
];
};
static
inline
X11DRV_PDEVICE
*
get_x11drv_dev
(
PHYSDEV
dev
)
{
return
(
X11DRV_PDEVICE
*
)
dev
;
...
...
dlls/winex11.drv/xvidmode.c
View file @
f08854ac
...
...
@@ -36,7 +36,6 @@
#include "windef.h"
#include "wingdi.h"
#include "ddrawi.h"
#include "wine/debug.h"
#include "wine/library.h"
...
...
@@ -335,7 +334,7 @@ static BOOL ComputeGammaFromRamp(WORD ramp[256], float *gamma)
/* Hmm... should gamma control be available in desktop mode or not?
* I'll assume that it should */
static
BOOL
X11DRV_XF86VM_GetGammaRamp
(
LPDDGAMMARAMP
ramp
)
static
BOOL
X11DRV_XF86VM_GetGammaRamp
(
struct
x11drv_gamma_ramp
*
ramp
)
{
#ifdef X_XF86VidModeSetGamma
XF86VidModeGamma
gamma
;
...
...
@@ -357,7 +356,7 @@ static BOOL X11DRV_XF86VM_GetGammaRamp(LPDDGAMMARAMP ramp)
return
FALSE
;
}
static
BOOL
X11DRV_XF86VM_SetGammaRamp
(
LPDDGAMMARAMP
ramp
)
static
BOOL
X11DRV_XF86VM_SetGammaRamp
(
struct
x11drv_gamma_ramp
*
ramp
)
{
#ifdef X_XF86VidModeSetGamma
XF86VidModeGamma
gamma
;
...
...
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