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
75f98cfc
Commit
75f98cfc
authored
May 23, 2000
by
Lionel Ulmer
Committed by
Alexandre Julliard
May 23, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the PRIMARYSURFACE attribute from back buffers.
parent
9a3dd5b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dga.c
dlls/ddraw/ddraw/dga.c
+1
-1
x11.c
dlls/ddraw/ddraw/x11.c
+1
-1
No files found.
dlls/ddraw/ddraw/dga.c
View file @
75f98cfc
...
...
@@ -180,7 +180,7 @@ HRESULT WINAPI DGA_IDirectDraw2Impl_CreateSurface_with_VT(
SDDSCAPS
(
dsurf
)
|=
DDSCAPS_FRONTBUFFER
;
SDDSCAPS
(
back
)
|=
DDSCAPS_FLIP
|
DDSCAPS_BACKBUFFER
|
DDSCAPS_VIDEOMEMORY
;
back
->
s
.
surface_desc
.
dwFlags
&=
~
DDSD_BACKBUFFERCOUNT
;
SDDSCAPS
(
back
)
&=
~
DDSCAPS_VISIBLE
;
SDDSCAPS
(
back
)
&=
~
(
DDSCAPS_VISIBLE
|
DDSCAPS_PRIMARYSURFACE
)
;
IDirectDrawSurface4_AddAttachedSurface
((
LPDIRECTDRAWSURFACE4
)(
*
lpdsf
),(
LPDIRECTDRAWSURFACE4
)
back
);
}
}
...
...
dlls/ddraw/ddraw/x11.c
View file @
75f98cfc
...
...
@@ -426,7 +426,7 @@ static HRESULT WINAPI Xlib_IDirectDraw2Impl_CreateSurface(
SDDSCAPS
(
dsurf
)
|=
DDSCAPS_FRONTBUFFER
;
SDDSCAPS
(
back
)
|=
DDSCAPS_BACKBUFFER
|
DDSCAPS_VIDEOMEMORY
|
DDSCAPS_FLIP
;
back
->
s
.
surface_desc
.
dwFlags
&=
~
DDSD_BACKBUFFERCOUNT
;
SDDSCAPS
(
back
)
&=
~
DDSCAPS_VISIBLE
;
SDDSCAPS
(
back
)
&=
~
(
DDSCAPS_VISIBLE
|
DDSCAPS_PRIMARYSURFACE
)
;
TRACE
(
"attaching surface %p to %p
\n
"
,
back
,
*
lpdsf
);
IDirectDrawSurface4_AddAttachedSurface
((
LPDIRECTDRAWSURFACE4
)(
*
lpdsf
),(
LPDIRECTDRAWSURFACE4
)
back
);
}
...
...
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