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
7b40fd64
Commit
7b40fd64
authored
Jan 14, 2008
by
Allan Tong
Committed by
Alexandre Julliard
Jan 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Set swapchain container before flagging front buffer with SFLAG_INDRAWABLE.
parent
3ed880ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
device.c
dlls/wined3d/device.c
+1
-1
No files found.
dlls/wined3d/device.c
View file @
7b40fd64
...
@@ -1495,8 +1495,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic
...
@@ -1495,8 +1495,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic
&
object
->
frontBuffer
,
&
object
->
frontBuffer
,
NULL
/* pShared (always null)*/
);
NULL
/* pShared (always null)*/
);
if
(
object
->
frontBuffer
!=
NULL
)
{
if
(
object
->
frontBuffer
!=
NULL
)
{
IWineD3DSurface_ModifyLocation
(
object
->
frontBuffer
,
SFLAG_INDRAWABLE
,
TRUE
);
IWineD3DSurface_SetContainer
(
object
->
frontBuffer
,
(
IWineD3DBase
*
)
object
);
IWineD3DSurface_SetContainer
(
object
->
frontBuffer
,
(
IWineD3DBase
*
)
object
);
IWineD3DSurface_ModifyLocation
(
object
->
frontBuffer
,
SFLAG_INDRAWABLE
,
TRUE
);
}
else
{
}
else
{
ERR
(
"Failed to create the front buffer
\n
"
);
ERR
(
"Failed to create the front buffer
\n
"
);
goto
error
;
goto
error
;
...
...
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