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
639ea0f4
Commit
639ea0f4
authored
Mar 07, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove a transformed vertex loading hack in load_vertex_data().
This should never be used, we fall back to drawStridedSlow() for transformed vertices.
parent
3579bbd8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
state.c
dlls/wined3d/state.c
+0
-18
No files found.
dlls/wined3d/state.c
View file @
639ea0f4
...
...
@@ -4318,29 +4318,11 @@ static void load_vertex_data(const struct wined3d_context *context,
curVBO
=
e
->
data
.
buffer_object
;
}
/* min(WINED3D_ATR_FORMAT(position),3) to Disable RHW mode as 'w' coord
handling for rhw mode should not impact screen position whereas in GL it does.
This may result in very slightly distorted textures in rhw mode.
There's always the other option of fixing the view matrix to
prevent w from having any effect.
This only applies to user pointer sources, in VBOs the vertices are fixed up
*/
if
(
!
e
->
data
.
buffer_object
)
{
TRACE
(
"glVertexPointer(3, %#x, %#x, %p);
\n
"
,
e
->
format
->
gl_vtx_type
,
e
->
stride
,
e
->
data
.
addr
+
state
->
load_base_vertex_index
*
e
->
stride
);
glVertexPointer
(
3
/* min(e->format->gl_vtx_format, 3) */
,
e
->
format
->
gl_vtx_type
,
e
->
stride
,
e
->
data
.
addr
+
state
->
load_base_vertex_index
*
e
->
stride
);
}
else
{
TRACE
(
"glVertexPointer(%#x, %#x, %#x, %p);
\n
"
,
e
->
format
->
gl_vtx_format
,
e
->
format
->
gl_vtx_type
,
e
->
stride
,
e
->
data
.
addr
+
state
->
load_base_vertex_index
*
e
->
stride
);
glVertexPointer
(
e
->
format
->
gl_vtx_format
,
e
->
format
->
gl_vtx_type
,
e
->
stride
,
e
->
data
.
addr
+
state
->
load_base_vertex_index
*
e
->
stride
);
}
checkGLcall
(
"glVertexPointer(...)"
);
glEnableClientState
(
GL_VERTEX_ARRAY
);
checkGLcall
(
"glEnableClientState(GL_VERTEX_ARRAY)"
);
...
...
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