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
774cb21a
Commit
774cb21a
authored
May 12, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Heightscaled surfaces still have an integer size.
parent
1d7a05cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
utils.c
dlls/wined3d/utils.c
+5
-1
No files found.
dlls/wined3d/utils.c
View file @
774cb21a
...
...
@@ -1615,7 +1615,11 @@ UINT wined3d_format_calculate_size(const struct wined3d_format *format, UINT ali
size
=
height
*
(((
width
*
format
->
byte_count
)
+
alignment
-
1
)
&
~
(
alignment
-
1
));
}
if
(
format
->
heightscale
!=
0
.
0
f
)
size
*=
format
->
heightscale
;
if
(
format
->
heightscale
!=
0
.
0
f
)
{
/* The D3D format requirements make sure that the resulting format is an integer again */
size
=
(
UINT
)
(
size
*
format
->
heightscale
);
}
return
size
;
}
...
...
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