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
8c8d1e4f
Commit
8c8d1e4f
authored
Jan 12, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Do not force dynamic usage on transformed buffers.
parent
e328e24d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
device.c
dlls/wined3d/device.c
+0
-11
No files found.
dlls/wined3d/device.c
View file @
8c8d1e4f
...
...
@@ -450,17 +450,6 @@ static void CreateVBO(IWineD3DVertexBufferImpl *object) {
goto
error
;
}
/* Transformed vertices are horribly inflexible. If the app specifies an
* vertex buffer with transformed vertices in default pool without DYNAMIC
* usage assume DYNAMIC usage and print a warning. The app will have to update
* the vertices regularily for them to be useful
*/
if
(((
object
->
fvf
&
WINED3DFVF_POSITION_MASK
)
==
WINED3DFVF_XYZRHW
)
&&
!
(
vboUsage
&
WINED3DUSAGE_DYNAMIC
))
{
WARN
(
"Application creates a vertex buffer holding transformed vertices which doesn't specify dynamic usage
\n
"
);
vboUsage
|=
WINED3DUSAGE_DYNAMIC
;
}
/* Don't use static, because dx apps tend to update the buffer
* quite often even if they specify 0 usage
*/
...
...
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