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
f90b8b63
Commit
f90b8b63
authored
Dec 23, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename conversion_count to something more appropriate.
parent
d6b97324
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
buffer.c
dlls/wined3d/buffer.c
+3
-3
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/buffer.c
View file @
f90b8b63
...
...
@@ -735,10 +735,10 @@ static void STDMETHODCALLTYPE buffer_PreLoad(IWineD3DBuffer *iface)
*/
if
(
decl_changed
)
{
++
This
->
conversion
_count
;
++
This
->
decl_change
_count
;
This
->
draw_count
=
0
;
if
(
This
->
conversion
_count
>
VB_MAXDECLCHANGES
)
if
(
This
->
decl_change
_count
>
VB_MAXDECLCHANGES
)
{
FIXME
(
"Too many declaration changes, stopping converting
\n
"
);
...
...
@@ -763,7 +763,7 @@ static void STDMETHODCALLTYPE buffer_PreLoad(IWineD3DBuffer *iface)
* decl changes and reset the decl change count after a specific number of them
*/
++
This
->
draw_count
;
if
(
This
->
draw_count
>
VB_RESETDECLCHANGE
)
This
->
conversion
_count
=
0
;
if
(
This
->
draw_count
>
VB_RESETDECLCHANGE
)
This
->
decl_change
_count
=
0
;
}
if
(
decl_changed
)
...
...
dlls/wined3d/wined3d_private.h
View file @
f90b8b63
...
...
@@ -2373,7 +2373,7 @@ struct wined3d_buffer
LONG
lock_count
;
/* conversion stuff */
UINT
conversion
_count
;
UINT
decl_change
_count
;
UINT
draw_count
;
UINT
stride
;
/* 0 if no conversion */
UINT
conversion_stride
;
/* 0 if no shifted conversion */
...
...
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