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
78312704
Commit
78312704
authored
Sep 03, 2008
by
Alexander Dorofeyev
Committed by
Alexandre Julliard
Sep 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove obsolete code & ModifyLocation TODO.
This fbo logic appears to have already been implemented in ModifyLocation.
parent
1bcd6e45
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
device.c
dlls/wined3d/device.c
+0
-4
surface.c
dlls/wined3d/surface.c
+0
-5
No files found.
dlls/wined3d/device.c
View file @
78312704
...
@@ -5152,10 +5152,6 @@ HRESULT IWineD3DDeviceImpl_ClearSurface(IWineD3DDeviceImpl *This, IWineD3DSurfa
...
@@ -5152,10 +5152,6 @@ HRESULT IWineD3DDeviceImpl_ClearSurface(IWineD3DDeviceImpl *This, IWineD3DSurfa
* it is most likely more efficient to perform a clear on the sysmem copy too instead of downloading it
* it is most likely more efficient to perform a clear on the sysmem copy too instead of downloading it
*/
*/
IWineD3DSurface_ModifyLocation
(
This
->
lastActiveRenderTarget
,
SFLAG_INDRAWABLE
,
TRUE
);
IWineD3DSurface_ModifyLocation
(
This
->
lastActiveRenderTarget
,
SFLAG_INDRAWABLE
,
TRUE
);
/* TODO: Move the fbo logic into ModifyLocation() */
if
(
This
->
render_offscreen
&&
wined3d_settings
.
offscreen_rendering_mode
==
ORM_FBO
)
{
target
->
Flags
|=
SFLAG_INTEXTURE
;
}
}
}
if
(
Flags
&
WINED3DCLEAR_ZBUFFER
)
{
if
(
Flags
&
WINED3DCLEAR_ZBUFFER
)
{
/* Note that WINED3DCLEAR_ZBUFFER implies a depth stencil exists on the device */
/* Note that WINED3DCLEAR_ZBUFFER implies a depth stencil exists on the device */
...
...
dlls/wined3d/surface.c
View file @
78312704
...
@@ -3437,7 +3437,6 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
...
@@ -3437,7 +3437,6 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
/* Now load the surface */
/* Now load the surface */
IWineD3DSurface_PreLoad
((
IWineD3DSurface
*
)
Src
);
IWineD3DSurface_PreLoad
((
IWineD3DSurface
*
)
Src
);
/* Activate the destination context, set it up for blitting */
/* Activate the destination context, set it up for blitting */
ActivateContext
(
myDevice
,
(
IWineD3DSurface
*
)
This
,
CTXUSAGE_BLIT
);
ActivateContext
(
myDevice
,
(
IWineD3DSurface
*
)
This
,
CTXUSAGE_BLIT
);
...
@@ -3545,10 +3544,6 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
...
@@ -3545,10 +3544,6 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
* is outdated now
* is outdated now
*/
*/
IWineD3DSurface_ModifyLocation
((
IWineD3DSurface
*
)
This
,
SFLAG_INDRAWABLE
,
TRUE
);
IWineD3DSurface_ModifyLocation
((
IWineD3DSurface
*
)
This
,
SFLAG_INDRAWABLE
,
TRUE
);
/* TODO: This should be moved to ModifyLocation() */
if
(
!
(
dstSwapchain
||
wined3d_settings
.
offscreen_rendering_mode
!=
ORM_FBO
))
{
This
->
Flags
|=
SFLAG_INTEXTURE
;
}
return
WINED3D_OK
;
return
WINED3D_OK
;
}
else
{
}
else
{
...
...
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