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
e4d5385d
Commit
e4d5385d
authored
Sep 26, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Sep 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Cleanup ActiveRender some more.
parent
cc821415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
device.c
dlls/wined3d/device.c
+5
-5
No files found.
dlls/wined3d/device.c
View file @
e4d5385d
...
...
@@ -7453,7 +7453,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ActiveRender(IWineD3DDevice* iface,
#if defined(GL_VERSION_1_3)
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DSurface
*
tmp
;
GLXFBConfig
*
cfgs
=
NULL
;
IWineD3DSwapChain
*
currentSwapchain
;
IWineD3DSwapChainImpl
*
currentSwapchainImpl
;
...
...
@@ -7615,10 +7614,11 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ActiveRender(IWineD3DDevice* iface,
}
/* Replace the render target */
tmp
=
This
->
renderTarget
;
This
->
renderTarget
=
RenderSurface
;
IWineD3DSurface_AddRef
(
This
->
renderTarget
);
IWineD3DSurface_Release
(
tmp
);
if
(
This
->
renderTarget
!=
RenderSurface
)
{
IWineD3DSurface_Release
(
This
->
renderTarget
);
This
->
renderTarget
=
RenderSurface
;
IWineD3DSurface_AddRef
(
RenderSurface
);
}
if
(
cfgs
!=
NULL
)
XFree
(
cfgs
);
if
(
implicitSwapchain
!=
NULL
)
IWineD3DSwapChain_Release
(
implicitSwapchain
);
...
...
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