Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8e059205
Commit
8e059205
authored
Nov 02, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Translate drawable coordinates in flush_to_framebuffer_drawpixels().
parent
3f0d16c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
surface.c
dlls/wined3d/surface.c
+5
-0
No files found.
dlls/wined3d/surface.c
View file @
8e059205
...
...
@@ -1765,12 +1765,17 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This,
GLenum
buffer
=
surface_get_gl_buffer
(
This
);
TRACE
(
"Unlocking %#x buffer.
\n
"
,
buffer
);
context_set_draw_buffer
(
context
,
buffer
);
surface_translate_drawable_coords
(
This
,
context
->
win_handle
,
&
rect
);
glPixelZoom
(
1
.
0
f
,
-
1
.
0
f
);
}
else
{
/* Primary offscreen render target */
TRACE
(
"Offscreen render target.
\n
"
);
context_set_draw_buffer
(
context
,
device
->
offscreenBuffer
);
glPixelZoom
(
1
.
0
f
,
1
.
0
f
);
}
glRasterPos3i
(
rect
.
left
,
rect
.
top
,
1
);
...
...
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