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
a9afc935
Commit
a9afc935
authored
Dec 04, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Reject explicitly creating a flippable front buffer.
parent
00eaf27d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
ddraw.c
dlls/ddraw/ddraw.c
+3
-4
No files found.
dlls/ddraw/ddraw.c
View file @
a9afc935
...
...
@@ -2921,11 +2921,10 @@ static HRESULT WINAPI ddraw1_CreateSurface(IDirectDraw *iface,
return
DDERR_INVALIDPARAMS
;
}
/* Remove front buffer flag, this causes failure in v7, and its added to normal
* primaries anyway. */
surface_desc
->
ddsCaps
.
dwCaps
&=
~
DDSCAPS_FRONTBUFFER
;
if
((
surface_desc
->
ddsCaps
.
dwCaps
&
(
DDSCAPS_PRIMARYSURFACE
|
DDSCAPS_BACKBUFFER
))
==
(
DDSCAPS_PRIMARYSURFACE
|
DDSCAPS_BACKBUFFER
))
==
(
DDSCAPS_PRIMARYSURFACE
|
DDSCAPS_BACKBUFFER
)
||
(
surface_desc
->
ddsCaps
.
dwCaps
&
(
DDSCAPS_FLIP
|
DDSCAPS_FRONTBUFFER
))
==
((
DDSCAPS_FLIP
|
DDSCAPS_FRONTBUFFER
)))
{
WARN
(
"Application tried to create an explicit front or back buffer.
\n
"
);
wined3d_mutex_unlock
();
...
...
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