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
f361dea1
Commit
f361dea1
authored
Oct 17, 1998
by
Patrik Stridvall
Committed by
Alexandre Julliard
Oct 17, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fix for non XF86-DGA systems.
parent
f1f830ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
ddraw.c
graphics/ddraw.c
+12
-2
No files found.
graphics/ddraw.c
View file @
f361dea1
...
...
@@ -454,7 +454,7 @@ static HRESULT WINAPI Xlib_IDirectDrawSurface3_SetPalette(
LPDIRECTDRAWSURFACE3
this
,
LPDIRECTDRAWPALETTE
pal
)
{
TRACE
(
ddraw
,
"(%p)->SetPalette(%p)
\n
"
,
this
,
pal
);
#ifdef HAVE_LIBXXF86DGA
/* According to spec, we are only supposed to
* AddRef if this is not the same palette.
*/
...
...
@@ -481,13 +481,18 @@ static HRESULT WINAPI Xlib_IDirectDrawSurface3_SetPalette(
}
return
0
;
#else
/* defined(HAVE_LIBXXF86DGA) */
return
E_UNEXPECTED
;
#endif
/* defined(HAVE_LIBXXF86DGA) */
}
static
HRESULT
WINAPI
DGA_IDirectDrawSurface3_SetPalette
(
LPDIRECTDRAWSURFACE3
this
,
LPDIRECTDRAWPALETTE
pal
)
{
TRACE
(
ddraw
,
"(%p)->SetPalette(%p)
\n
"
,
this
,
pal
);
#ifdef HAVE_LIBXXF86DGA
/* According to spec, we are only supposed to
* AddRef if this is not the same palette.
*/
...
...
@@ -509,6 +514,11 @@ static HRESULT WINAPI DGA_IDirectDrawSurface3_SetPalette(
TSXF86DGAInstallColormap
(
display
,
DefaultScreen
(
display
),
this
->
s
.
palette
->
cm
);
}
return
0
;
#else
/* defined(HAVE_LIBXXF86DGA) */
return
E_UNEXPECTED
;
#endif
/* defined(HAVE_LIBXXF86DGA) */
}
static
HRESULT
WINAPI
IDirectDrawSurface3_Blt
(
...
...
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