http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629f382
)
wined3d: Don't drop VBOs for full buffer reloading without conversion.
author
Stefan Dösinger
<stefan@codeweavers.com>
Sun, 6 Feb 2011 22:28:11 +0000
(23:28 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 12 Apr 2011 15:42:12 +0000
(17:42 +0200)
dlls/wined3d/buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wined3d/buffer.c
b/dlls/wined3d/buffer.c
index 9e4ae2aae5ad483f97d419440e365030ca3872f9..6d44c2e85815f9e4baa9bb7216817341b4911033 100644
(file)
--- a/
dlls/wined3d/buffer.c
+++ b/
dlls/wined3d/buffer.c
@@
-1002,7
+1002,7
@@
void CDECL wined3d_buffer_preload(struct wined3d_buffer *buffer)
* changes it every minute drop the VBO after VB_MAX_DECL_CHANGES minutes. So count draws without
* decl changes and reset the decl change count after a specific number of them
*/
- if (buffer_is_fully_dirty(buffer))
+ if (buffer
->conversion_map && buffer
_is_fully_dirty(buffer))
{
++buffer->full_conversion_count;
if (buffer->full_conversion_count > VB_MAXFULLCONVERSIONS)