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
10ff0d81
Commit
10ff0d81
authored
May 09, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: rhw vertex fixup.
Change the rhw=0 range to ]1e-8,1e-8[ and move the value to a constant in wined3d_types.h
parent
1d0c6723
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
drawprim.c
dlls/wined3d/drawprim.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-0
No files found.
dlls/wined3d/drawprim.c
View file @
10ff0d81
...
...
@@ -1529,7 +1529,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
/* Position -------------------------------- */
if
(
sd
->
u
.
s
.
position
.
lpData
!=
NULL
)
{
if
(
1
.
0
f
==
rhw
||
((
rhw
<
0
.
0001
f
)
&&
(
rhw
>
-
0
.
0001
f
)))
{
if
(
1
.
0
f
==
rhw
||
((
rhw
<
eps
)
&&
(
rhw
>
-
eps
)))
{
VTRACE
((
"Vertex: glVertex:x,y,z=%f,%f,%f
\n
"
,
x
,
y
,
z
));
glVertex3f
(
x
,
y
,
z
);
}
else
{
...
...
dlls/wined3d/wined3d_private.h
View file @
10ff0d81
...
...
@@ -378,6 +378,8 @@ void drawPrimitive(IWineD3DDevice *iface,
int
minIndex
,
WineDirect3DVertexStridedData
*
DrawPrimStrideData
);
#define eps 1e-8
/* Routine to fill gl caps for swapchains and IWineD3D */
BOOL
IWineD3DImpl_FillGLCaps
(
WineD3D_GL_Info
*
gl_info
,
Display
*
display
);
...
...
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