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
5f3dccdd
Commit
5f3dccdd
authored
Feb 03, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Do not depend on context_attach_surface_fbo() to load the surface in stretch_rect_fbo().
parent
040452ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
device.c
dlls/wined3d/device.c
+6
-6
No files found.
dlls/wined3d/device.c
View file @
5f3dccdd
...
...
@@ -5791,6 +5791,12 @@ void stretch_rect_fbo(IWineD3DDevice *iface, IWineD3DSurface *src_surface, WINED
break
;
}
/* Make sure the drawables are up-to-date. Note that loading the
* destination surface isn't strictly required if we overwrite the
* entire surface. */
IWineD3DSurface_LoadLocation
(
src_surface
,
SFLAG_INDRAWABLE
,
NULL
);
IWineD3DSurface_LoadLocation
(
dst_surface
,
SFLAG_INDRAWABLE
,
NULL
);
/* Attach src surface to src fbo */
src_swapchain
=
get_swapchain
(
src_surface
);
dst_swapchain
=
get_swapchain
(
dst_surface
);
...
...
@@ -5806,9 +5812,6 @@ void stretch_rect_fbo(IWineD3DDevice *iface, IWineD3DSurface *src_surface, WINED
GLenum
buffer
=
surface_get_gl_buffer
(
src_surface
);
TRACE
(
"Source surface %p is onscreen
\n
"
,
src_surface
);
/* Make sure the drawable is up to date. In the offscreen case
* attach_surface_fbo() implicitly takes care of this. */
IWineD3DSurface_LoadLocation
(
src_surface
,
SFLAG_INDRAWABLE
,
NULL
);
if
(
buffer
==
GL_FRONT
)
{
RECT
windowsize
;
...
...
@@ -5845,9 +5848,6 @@ void stretch_rect_fbo(IWineD3DDevice *iface, IWineD3DSurface *src_surface, WINED
GLenum
buffer
=
surface_get_gl_buffer
(
dst_surface
);
TRACE
(
"Destination surface %p is onscreen
\n
"
,
dst_surface
);
/* Make sure the drawable is up to date. In the offscreen case
* attach_surface_fbo() implicitly takes care of this. */
IWineD3DSurface_LoadLocation
(
dst_surface
,
SFLAG_INDRAWABLE
,
NULL
);
if
(
buffer
==
GL_FRONT
)
{
RECT
windowsize
;
...
...
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