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
e0a271ee
Commit
e0a271ee
authored
Mar 03, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Adjust the rhw transformation for offscreen rendering.
parent
8ebcf400
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
state.c
dlls/wined3d/state.c
+2
-2
No files found.
dlls/wined3d/state.c
View file @
e0a271ee
...
@@ -2155,7 +2155,7 @@ static void transform_projection(DWORD state, IWineD3DStateBlockImpl *stateblock
...
@@ -2155,7 +2155,7 @@ static void transform_projection(DWORD state, IWineD3DStateBlockImpl *stateblock
*/
*/
TRACE
(
"Calling glOrtho with %f, %f, %f, %f
\n
"
,
width
,
height
,
-
minZ
,
-
maxZ
);
TRACE
(
"Calling glOrtho with %f, %f, %f, %f
\n
"
,
width
,
height
,
-
minZ
,
-
maxZ
);
if
(
stateblock
->
wineD3DDevice
->
render_offscreen
)
{
if
(
stateblock
->
wineD3DDevice
->
render_offscreen
)
{
glOrtho
(
X
,
X
+
width
,
Y
,
Y
-
height
,
-
minZ
,
-
maxZ
);
glOrtho
(
X
,
X
+
width
,
-
Y
,
-
Y
-
height
,
-
minZ
,
-
maxZ
);
}
else
{
}
else
{
glOrtho
(
X
,
X
+
width
,
Y
+
height
,
Y
,
-
minZ
,
-
maxZ
);
glOrtho
(
X
,
X
+
width
,
Y
+
height
,
Y
,
-
minZ
,
-
maxZ
);
}
}
...
@@ -2169,7 +2169,7 @@ static void transform_projection(DWORD state, IWineD3DStateBlockImpl *stateblock
...
@@ -2169,7 +2169,7 @@ static void transform_projection(DWORD state, IWineD3DStateBlockImpl *stateblock
*/
*/
TRACE
(
"Calling glOrtho with %f, %f, %f, %f
\n
"
,
width
,
height
,
1
.
0
,
-
1
.
0
);
TRACE
(
"Calling glOrtho with %f, %f, %f, %f
\n
"
,
width
,
height
,
1
.
0
,
-
1
.
0
);
if
(
stateblock
->
wineD3DDevice
->
render_offscreen
)
{
if
(
stateblock
->
wineD3DDevice
->
render_offscreen
)
{
glOrtho
(
X
,
X
+
width
,
Y
,
Y
-
height
,
1
.
0
,
-
1
.
0
);
glOrtho
(
X
,
X
+
width
,
-
Y
,
-
Y
-
height
,
1
.
0
,
-
1
.
0
);
}
else
{
}
else
{
glOrtho
(
X
,
X
+
width
,
Y
+
height
,
Y
,
1
.
0
,
-
1
.
0
);
glOrtho
(
X
,
X
+
width
,
Y
+
height
,
Y
,
1
.
0
,
-
1
.
0
);
}
}
...
...
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