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
6521fc78
Commit
6521fc78
authored
Jul 08, 2015
by
Matteo Bruni
Committed by
Alexandre Julliard
Jul 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the correct texture coordinates in swapchain_blit() in the…
wined3d: Use the correct texture coordinates in swapchain_blit() in the non-glBlitFramebuffer, NP2 case.
parent
b45395f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
swapchain.c
dlls/wined3d/swapchain.c
+4
-4
No files found.
dlls/wined3d/swapchain.c
View file @
6521fc78
...
...
@@ -351,10 +351,10 @@ static void swapchain_blit(const struct wined3d_swapchain *swapchain,
if
(
backbuffer
->
container
->
flags
&
WINED3D_TEXTURE_NORMALIZED_COORDS
)
{
tex_left
/=
src_w
;
tex_right
/=
src_w
;
tex_top
/=
src_h
;
tex_bottom
/=
src_h
;
tex_left
/=
backbuffer
->
pow2Width
;
tex_right
/=
backbuffer
->
pow2Width
;
tex_top
/=
backbuffer
->
pow2Height
;
tex_bottom
/=
backbuffer
->
pow2Height
;
}
if
(
is_complex_fixup
(
backbuffer
->
resource
.
format
->
color_fixup
))
...
...
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